void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainWindow1 = ((CodeBreakerGUI.MainWindow)(target)); return; case 2: #line 12 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Event); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainWindow1 = ((CodeBreakerGUI.MainWindow)(target)); return; case 2: #line 120 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.New_Window); #line default #line hidden #line 120 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.New_WindowCanExecute); #line default #line hidden return; case 3: #line 121 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.New1); #line default #line hidden #line 121 "..\..\MainWindow.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.NewCanExecute); #line default #line hidden return; case 4: #line 132 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Encrypt_Text); #line default #line hidden return; case 5: #line 133 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Decrypt_Text); #line default #line hidden return; case 6: #line 135 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit); #line default #line hidden return; case 7: this.UndoMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 8: this.RedoMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 9: this.CutMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 10: this.CopyMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 11: this.PasteMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 12: this.DeleteMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 13: this.SearchMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 14: this.FindMenuItem = ((System.Windows.Controls.MenuItem)(target)); return; case 15: #line 156 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.QuickConvert_Click); #line default #line hidden return; case 16: #line 166 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.About); #line default #line hidden return; case 17: this.textbox = ((System.Windows.Controls.RichTextBox)(target)); #line 170 "..\..\MainWindow.xaml" this.textbox.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextChange); #line default #line hidden return; case 18: this.Input_Text = ((System.Windows.Documents.Run)(target)); return; case 19: this.myWebBrowser = ((System.Windows.Controls.WebBrowser)(target)); return; } this._contentLoaded = true; }