void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 17 "..\..\ExplanationWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ZoomInExecuted); #line default #line hidden #line 17 "..\..\ExplanationWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ZoomInCanExecute); #line default #line hidden return; case 2: #line 19 "..\..\ExplanationWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ZoomOutExecuted); #line default #line hidden #line 19 "..\..\ExplanationWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ZoomOutCanExecute); #line default #line hidden return; case 3: #line 21 "..\..\ExplanationWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FitSizeExecuted); #line default #line hidden #line 21 "..\..\ExplanationWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.FitSizeCanExecute); #line default #line hidden return; case 4: #line 23 "..\..\ExplanationWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NoZoomExecuted); #line default #line hidden #line 23 "..\..\ExplanationWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.NoZoomCanExecute); #line default #line hidden return; case 5: this.zoomInButton = ((System.Windows.Controls.Button)(target)); return; case 6: this.zoomOutButton = ((System.Windows.Controls.Button)(target)); return; case 7: this.fitButton = ((System.Windows.Controls.Button)(target)); return; case 8: this.noZoomButton = ((System.Windows.Controls.Button)(target)); return; case 9: this.DD = ((DiagramControls.DiagramControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MyWindow = ((textMindFusion.MainWindow)(target)); #line 5 "..\..\MainWindow.xaml" this.MyWindow.Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing1); #line default #line hidden #line 5 "..\..\MainWindow.xaml" this.MyWindow.Closed += new System.EventHandler(this.MainWindow_OnClosed); #line default #line hidden return; case 2: #line 10 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewExecuted); #line default #line hidden return; case 3: #line 13 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenExecuted); #line default #line hidden return; case 4: #line 16 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.LoadDemoExecuted); #line default #line hidden return; case 5: #line 19 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveExecuted); #line default #line hidden #line 20 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SaveCanExecute); #line default #line hidden return; case 6: #line 23 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveAsExecuted); #line default #line hidden #line 24 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SaveCanExecute); #line default #line hidden return; case 7: #line 27 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseExecuted); #line default #line hidden #line 28 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanExecuteIfIsOpen); #line default #line hidden return; case 8: #line 31 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.EditWithFormsExecuted); #line default #line hidden #line 32 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanExecuteIfIsOpen); #line default #line hidden return; case 9: #line 35 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ConsultExecuted); #line default #line hidden #line 36 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ConsultCanExecute); #line default #line hidden return; case 10: #line 39 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CancelCommandExecuted); #line default #line hidden #line 40 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CancelCommandCanExecute); #line default #line hidden return; case 11: #line 43 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ZoomInExecuted); #line default #line hidden #line 44 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ZoomInCanExecute); #line default #line hidden return; case 12: #line 47 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ZoomOutExecuted); #line default #line hidden #line 48 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ZoomOutCanExecute); #line default #line hidden return; case 13: #line 51 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FitSizeExecuted); #line default #line hidden #line 52 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.FitSizeCanExecute); #line default #line hidden return; case 14: #line 55 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NoZoomExecuted); #line default #line hidden #line 56 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.NoZoomCanExecute); #line default #line hidden return; case 15: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 16: this.TopStackPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 17: this.saveButton = ((System.Windows.Controls.Button)(target)); return; case 18: this.loadButton = ((System.Windows.Controls.Button)(target)); return; case 19: this.zoomInButton = ((System.Windows.Controls.Button)(target)); return; case 20: this.zoomOutButton = ((System.Windows.Controls.Button)(target)); return; case 21: this.fitButton = ((System.Windows.Controls.Button)(target)); return; case 22: this.noZoomButton = ((System.Windows.Controls.Button)(target)); return; case 23: this.AddNodeButton = ((System.Windows.Controls.Button)(target)); #line 137 "..\..\MainWindow.xaml" this.AddNodeButton.Click += new System.Windows.RoutedEventHandler(this.AddNodeButtonClick); #line default #line hidden return; case 24: this.ChangeNodeButton = ((System.Windows.Controls.Button)(target)); #line 142 "..\..\MainWindow.xaml" this.ChangeNodeButton.Click += new System.Windows.RoutedEventHandler(this.ChangeNodeButtonClick); #line default #line hidden return; case 25: this.DeleteNodeButton = ((System.Windows.Controls.Button)(target)); #line 147 "..\..\MainWindow.xaml" this.DeleteNodeButton.Click += new System.Windows.RoutedEventHandler(this.DeleteNodeButtonClick); #line default #line hidden return; case 26: this.MyDiag = ((DiagramControls.DiagramControl)(target)); return; case 27: this.expanderErrList = ((System.Windows.Controls.Expander)(target)); return; case 28: this.ListBoxLog = ((System.Windows.Controls.ListBox)(target)); return; case 29: this.ListBoxValidation = ((System.Windows.Controls.ListBox)(target)); return; case 30: this.checkBoxIsEdit = ((System.Windows.Controls.CheckBox)(target)); #line 175 "..\..\MainWindow.xaml" this.checkBoxIsEdit.Click += new System.Windows.RoutedEventHandler(this.IsEditClick); #line default #line hidden return; } this._contentLoaded = true; }