示例#1
0
        private void controlMenu_ButonEkle(object sender, EventArgs e)
        {
            FrmUrunIslem form = new FrmUrunIslem(new Entities.Tables.Urun());

            form.ShowDialog();
            if (form.Eklendi)
            {
                listele();
            }
        }
示例#2
0
        private void controlMenu_ButonDuzenle(object sender, EventArgs e)
        {
            if (gridUrunler.GetFocusedRow() == null)
            {
                return;
            }
            FrmUrunIslem form = new FrmUrunIslem((Entities.Tables.Urun)gridUrunler.GetFocusedRow());

            form.ShowDialog();
            if (form.Eklendi)
            {
                listele();
            }
        }