コード例 #1
0
        private void controlMenu_ButonEkle(object sender, EventArgs e)
        {
            FrmGarsonIslem form = new FrmGarsonIslem(new Entities.Tables.Garson());

            form.ShowDialog();
            if (form.kaydedildi)
            {
                listele();
            }
        }
コード例 #2
0
        private void controlMenu_ButonDuzenle(object sender, EventArgs e)
        {
            if (gridGarson.GetFocusedRow() == null)
            {
                return;
            }
            FrmGarsonIslem form = new FrmGarsonIslem((Entities.Tables.Garson)gridGarson.GetFocusedRow());

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