Exemple #1
0
 private void btnAddUsers_Click(object sender, EventArgs e)
 {
     FrmUserAdd fua = new FrmUserAdd();
     fua.listForm = this;
     fua.MdiParent = this.MdiParent;
     fua.Show();
 }
Exemple #2
0
 private void tsmiUserSetup_Click(object sender, EventArgs e)
 {
     FrmUserAdd fua = new FrmUserAdd(this.LoginUser.User_id);
     fua.MdiParent = this;
     fua.Show();
 }
Exemple #3
0
 private void tsmiUserEdit_Click(object sender, EventArgs e)
 {
     FrmUserAdd fua = new FrmUserAdd((dataGridView1.SelectedRows[0].DataBoundItem as humanresourcesDataSet.usersRow).User_id);
     fua.MdiParent = this.MdiParent;
     fua.listForm = this;
     fua.Show();
 }