Example #1
0
        private void AddNew()
        {
            ROLEEDIT frm = new ROLEEDIT();

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