Exemple #1
0
        private void addStaffMemberButton_Click(object sender, EventArgs e)
        {
            EditStaffForm edf = new EditStaffForm();

            edf.ShowDialog();
            edf.Dispose();
            staffListBox_SelectedValueChanged(this, e);
        }
Exemple #2
0
        private void editStaffInfoButton_Click(object sender, EventArgs e)
        {
            EditStaffForm edf = new EditStaffForm(staffListBox.SelectedItem.ToString());

            edf.ShowDialog();
            edf.Dispose();
            staffListBox_SelectedValueChanged(this, e);
        }