/// <summary> ///Occurs when the command associated with this CommandBinding executes. /// </summary> private static void OnExecuteAdd(object sender, ExecutedRoutedEventArgs e) { var manipulatorwnd = new ManipulatorView(); manipulatorwnd.removenormalCol.Visibility = Visibility.Collapsed; manipulatorwnd.removecol_Tilte.Visibility = Visibility.Collapsed; manipulatorwnd.ShowDialog(); }
/// <summary> ///Occurs when the command associated with this CommandBinding executes. /// </summary> private static void OnExecuteRemove(object sender, ExecutedRoutedEventArgs e) { var manipulatorwnd = new ManipulatorView(); manipulatorwnd.addnormalCol.Visibility = Visibility.Collapsed; manipulatorwnd.addcolarea.Visibility = Visibility.Collapsed; manipulatorwnd.Height = 165; manipulatorwnd.ShowDialog(); }