private void AddUserBtn_Click(object sender, EventArgs e) { //But new user;; UserPersonalInformation addUser = new UserPersonalInformation("Add", LogIn.user.EnterpriseID); addUser.Show(); }
private void UpdatePersonalInfoBtn_Click(object sender, EventArgs e) { { try { string selectedItem = PersonLookupListBox.SelectedItem.ToString(); //but new user:: UserPersonalInformation PersonalV = new UserPersonalInformation("Update", LogIn.user.EnterpriseID); PersonalV.Show(); } catch { MessageBox.Show("You do not have a person selected!"); } } }
private void UpdateInfoBtn_Click_1(object sender, EventArgs e) { UserPersonalInformation update = new UserPersonalInformation("Update", LogIn.user.EnterpriseID); update.Show(); }