private void btnYeniEkle_Click(object sender, EventArgs e) { Form_KullaniciDurumTanim form = new Form_KullaniciDurumTanim(); form.ShowDialog(); kullanicidurumgetir(); }
private void btnDurumDuzenle_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { DataRow selectedRow = gridKullaniciDurumuView.GetFocusedDataRow(); if (selectedRow != null) { string durumadi = selectedRow["DurumAd"].ToString(); int durumid = Convert.ToInt32(selectedRow["DurumId"]); Form_KullaniciDurumTanim form = new Form_KullaniciDurumTanim(durumadi, durumid, 1); form.ShowDialog(); kullanicidurumgetir(); } }