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