private void btnAddUsers_Click(object sender, EventArgs e) { FrmUserAdd fua = new FrmUserAdd(); fua.listForm = this; fua.MdiParent = this.MdiParent; fua.Show(); }
private void tsmiUserSetup_Click(object sender, EventArgs e) { FrmUserAdd fua = new FrmUserAdd(this.LoginUser.User_id); fua.MdiParent = this; fua.Show(); }
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(); }