Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void ButtonEmployeesDetails_Click(object sender, EventArgs e)
- {
- if (this.ListViewEmployees.SelectedItems.Count > 0)
- {
- this.Hide();
- FormEmployeeDetails _Form = new FormEmployeeDetails(this.ListViewEmployees.SelectedItems[0].Text);
- _Form.ShowDialog();
- this.Close();
- }
- else
- {
- MessageBox.Show("Please select Employee!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement