private void settings(object sender, RoutedEventArgs e) { OperatorItems person = ((Button)sender).Tag as OperatorItems; OperatorsSettings operatorsSettings = new OperatorsSettings(person.OperatorName); operatorsSettings.Closed += Closed; operatorsSettings.ShowDialog(); }
private void settings(object sender, RoutedEventArgs e) { OperatorItems person = ((Button)sender).Tag as OperatorItems; MessageBox.Show(person.OperatorName); }