private void manageUsersToolStripMenuItem_Click(object sender, EventArgs e) { frmUserRegistration users = new frmUserRegistration(); users.ControlsGB.Visible = true; users.Show(); }
private void registerUserToolStripMenuItem_Click(object sender, EventArgs e) { frmUserRegistration newUser = new frmUserRegistration(); newUser.uIDlbl.Text = this.uIDlbl.Text; newUser.Show(); }
private void UserLoginGV_CellContentClick(object sender, DataGridViewCellEventArgs e) { frmUserRegistration user = new frmUserRegistration(); user.uIDlbl.Text = (Int32.Parse(UserLoginGV.Rows[e.RowIndex].Cells["ID"].Value.ToString())).ToString(); user.ControlsGB.Visible = true; user.Show(); }