示例#1
0
 private void btnDuzenle_Click(object sender, EventArgs e)
 {
     secilen = Convert.ToInt32(gridView2.GetFocusedRowCellValue(colId));
     _entity = context.Tanimlar.Where(c => c.Id == secilen).SingleOrDefault();
     KayitAc();
     Listele();
 }
示例#2
0
        private void btnDuzenle_Click(object sender, EventArgs e)
        {
            int secilen = (int)gridTanim.GetFocusedRowCellValue(colId);

            _entity = context.Tanimlar.Where(c => c.Id == secilen).Single();
            KayitAc();
        }
示例#3
0
 private void btnSec_Click(object sender, EventArgs e)
 {
     secilen = Convert.ToInt32(gridView2.GetFocusedRowCellValue(colId));
     _entity = context.Tanimlar.Where(c => c.Id == secilen).SingleOrDefault();
     Secildi = true;
     this.Close();
 }
示例#4
0
 private void controlMenu_DuzenleClick(object sender, EventArgs e)
 {
     controlMenu.KayitAc     = true;
     groupTanimBilgi.Visible = true;
     tanimEntity             = (Entities.Tables.Tanim)gridTanim.GetFocusedRow();
     TanimBinding();
 }
示例#5
0
        private void btnSec_Click(object sender, EventArgs e)
        {
            int secilen = (int)gridTanim.GetFocusedRowCellValue(colId);

            _entity = context.Tanimlar.Where(c => c.Id == secilen).SingleOrDefault();
            Secildi = true;
            this.Close();
        }
示例#6
0
 private void controlMenu_EkleClick(object sender, EventArgs e)
 {
     controlMenu.KayitAc     = true;
     groupTanimBilgi.Visible = true;
     tanimEntity             = new Entities.Tables.Tanim();
     tanimEntity.Id          = Guid.NewGuid();
     TanimBinding();
 }
示例#7
0
 private void btnDuzenle_Click(object sender, EventArgs e)
 {
     if (gridTanim.RowCount.Equals(0))
     {
         XtraMessageBox.Show("Düzenlenecek Kayıt Bulunamadı.");
     }
     else
     {
         int secilen = Convert.ToInt32(gridTanim.GetFocusedRowCellValue(colId));
         _entitiy = context.Tanimlar.Where(c => c.KullaniciID == RoleTool.kullaniciEntity.KullaniciID && c.Id == secilen).SingleOrDefault();
         KayitAc();
     }
 }
示例#8
0
 private void btnEkle_Click(object sender, EventArgs e)
 {
     _entity = new Entities.Tables.Tanim();
     KayitAc();
 }
示例#9
0
 private void controlMenu_SecClick(object sender, EventArgs e)
 {
     Secildi     = true;
     tanimEntity = (Entities.Tables.Tanim)gridTanim.GetFocusedRow();
     Close();
 }