Exemple #1
0
 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();
     }
 }
Exemple #2
0
        private void button7_Click(object sender, EventArgs e)
        {
            create frm_createUsr = new create(this, 1);

            frm_createUsr.Show();
        }