示例#1
0
文件: privs.cs 项目: dbhuy2268/bvien
 private void button1_Click(object sender, EventArgs e)
 {
     if (FLAG == 1)
     {
         create frm_createUsr = new create(this.mainForm, curUser, curRole, 3);
         frm_createUsr.Show();
     }
     if (FLAG == 2)
     {
         create frm_createUsr = new create(this.mainForm, curUser, curRole, 4);
         frm_createUsr.Show();
     }
 }
示例#2
0
文件: Form1.cs 项目: dbhuy2268/bvien
        private void button7_Click(object sender, EventArgs e)
        {
            create frm_createUsr = new create(this, 1);

            frm_createUsr.Show();
        }