private void btnSinifElave_Click_1(object sender, EventArgs e) { FrmSinifIsler form = new FrmSinifIsler(new Entities.Sinif()); form.ShowDialog(); if (form.YaddaSaxlanildi4) { Listele(); } }
private void btnSinifEdit_Click_1(object sender, EventArgs e) { Entities.Sinif sinifEntity = (Entities.Sinif)gridSinif.GetFocusedRow(); FrmSinifIsler form = new FrmSinifIsler(sinifEntity); form.ShowDialog(); if (form.YaddaSaxlanildi4) { Listele(); } }