private void controlNotlar_EkleClick(object sender, EventArgs e) { controlNotlar.KayitAc = true; groupUrunNotu.Visible = true; groupAltMenu.Enabled = false; _urunNotEntity = new UrunNot(); _urunNotEntity.UrunId = _urunEntity.Id; UrunNotBinding(); }
private void controlNotlar_DuzenleClick(object sender, EventArgs e) { if (gridNotlar.GetFocusedRow() == null) { return; } controlNotlar.KayitAc = true; groupUrunNotu.Visible = true; groupAltMenu.Enabled = false; _urunNotEntity = (UrunNot)gridMalzeme.GetFocusedRow(); _urunNotEntity.UrunId = _urunEntity.Id; UrunNotBinding(); }