private void Edit_Click(object sender, RoutedEventArgs e) { Clients premises = premisesList.SelectedItem as Clients; userAdd p = new userAdd(premises); p.ShowDialog(); }
private void addPremises(object sender, RoutedEventArgs e) { userAdd premises = new userAdd(new Clients()); premises.ShowDialog(); }
private void button5_Click(object sender, EventArgs e) { userAdd addForm = new userAdd(); addForm.ShowDialog(); }