private void AddNew() { ROLEEDIT frm = new ROLEEDIT(); frm.ShowInTaskbar = false; frm.StartPosition = FormStartPosition.CenterScreen; frm.ShowDialog(); }
private void gGrid1_DoubleClick(object sender, EventArgs e) { ROLEEDIT frm = new ROLEEDIT(); frm.ShowInTaskbar = false; frm.StartPosition = FormStartPosition.CenterScreen; frm.SetData(gGrid1.GetCurSelect <ND_ROLE>()); frm.ShowDialog(); }