private void Button_Click_3(object sender, RoutedEventArgs e) { if (Swalow.SelectedItems.Count > 0) { Users users = (Users)Swalow.SelectedItems[0]; AddRedactForUser redactForUser = new AddRedactForUser(users); redactForUser.Show(); } }
private void Button_Click(object sender, RoutedEventArgs e) { AddRedactForUser addForUser = new AddRedactForUser(); addForUser.Show(); }