private void PrefixButton_Click(object sender, RoutedEventArgs e) { Button button = sender as System.Windows.Controls.Button; Network user = button.DataContext as Network; AddPrefix inputDialog = new AddPrefix(user.Names); if (inputDialog.ShowDialog() == true) { Refresh(); } }
private void PrefixButton_Click(object sender, RoutedEventArgs e) { Button button = sender as System.Windows.Controls.Button; Network user = button.DataContext as Network; AddPrefix inputDialog = new AddPrefix(user.Names); if (inputDialog.ShowDialog() == true) Refresh(); }