示例#1
0
        private void AddNew()
        {
            USEREDIT frm = new USEREDIT();

            frm.ShowInTaskbar = false;
            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ShowDialog();
        }
示例#2
0
        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();
        }