Esempio n. 1
0
        private void navBarItemUrunEkle_LinkClicked(object sender, NavBarLinkEventArgs e)
        {
            var stokDetay = new FrmStokDetay();

            if (stokDetay.ShowDialog() == DialogResult.OK)
            {
                Init();
            }
        }
Esempio n. 2
0
        private void navBarÜrünGorntule_LinkClicked(object sender, NavBarLinkEventArgs e)
        {
            if (gridProductListView.GetFocusedRow() != null)
            {
                var viewProduct = gridProductListView.GetFocusedRow() as ModelProduct.ViewStock;

                var stokDetay = new FrmStokDetay(viewProduct);
                if (stokDetay.ShowDialog() == DialogResult.OK)
                {
                    Init();
                }
            }
            else
            {
                MessageBox.Show("Listeden ürün seçiniz!", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }