private void button1_Click(object sender, EventArgs e) { NewUser newUser = new NewUser(parent.ParentForm, "add", parent.Group); newUser.ShowDialog(); UpdateListUsers(); }
private void listBox1_DoubleClick(object sender, EventArgs e) { Account user = (Account)listBox1.SelectedItem; NewUser newUser = new NewUser(parent.ParentForm, "edit", parent.Group, user.Id); newUser.ShowDialog(); }
private void label3_Click(object sender, EventArgs e) { NewUser newUser = new NewUser(this); newUser.ShowDialog(); }