void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 40 "..\..\..\MainWindow.xaml" ((SBW2.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.RibbonWindowClosing); #line default #line hidden return; case 2: this.StartStopQAB = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 3: this.StartRB = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 4: this.StopRB = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 5: this.RestartRB = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 6: this.Ribbon_Status = ((Microsoft.Windows.Controls.Ribbon.RibbonTwoLineText)(target)); return; case 7: this.MemStats = ((Microsoft.Windows.Controls.Ribbon.RibbonTwoLineText)(target)); return; case 8: this.Uptime = ((Microsoft.Windows.Controls.Ribbon.RibbonTwoLineText)(target)); return; case 9: this.memcb = ((Microsoft.Windows.Controls.Ribbon.RibbonComboBox)(target)); return; case 10: this.memboxGal = ((Microsoft.Windows.Controls.Ribbon.RibbonGallery)(target)); #line 103 "..\..\..\MainWindow.xaml" this.memboxGal.SelectionChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.MemoryComboBoxSelectionChanged); #line default #line hidden return; case 11: this.MemoryComboBox = ((Microsoft.Windows.Controls.Ribbon.RibbonGalleryCategory)(target)); return; case 12: this.NetworkToggle = ((Microsoft.Windows.Controls.Ribbon.RibbonToggleButton)(target)); #line 118 "..\..\..\MainWindow.xaml" this.NetworkToggle.Checked += new System.Windows.RoutedEventHandler(this.NetToggleChecked); #line default #line hidden #line 119 "..\..\..\MainWindow.xaml" this.NetworkToggle.Unchecked += new System.Windows.RoutedEventHandler(this.NetworkToggleUnchecked); #line default #line hidden return; case 13: this.outputBox = ((System.Windows.Controls.RichTextBox)(target)); return; case 14: this.inputBox = ((System.Windows.Controls.TextBox)(target)); #line 138 "..\..\..\MainWindow.xaml" this.inputBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBoxKeyDown); #line default #line hidden return; case 15: this.StartThumb = ((System.Windows.Shell.ThumbButtonInfo)(target)); return; case 16: this.StopThumb = ((System.Windows.Shell.ThumbButtonInfo)(target)); return; case 17: this.RestartThumb = ((System.Windows.Shell.ThumbButtonInfo)(target)); return; } this._contentLoaded = true; }
/// public RibbonTwoLineTextAutomationPeer(RibbonTwoLineText owner) : base(owner) { }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 40 "..\..\..\MainWindow.xaml" ((SBW2.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.RibbonWindowClosing); #line default #line hidden return; case 2: this.ribbon1 = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target)); return; case 3: this.StartStopQAB = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 4: this.StartRB = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 5: this.StopRB = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 6: this.RestartRB = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target)); return; case 7: this.Ribbon_Status = ((Microsoft.Windows.Controls.Ribbon.RibbonTwoLineText)(target)); return; case 8: this.MemStats = ((Microsoft.Windows.Controls.Ribbon.RibbonTwoLineText)(target)); return; case 9: this.Uptime = ((Microsoft.Windows.Controls.Ribbon.RibbonTwoLineText)(target)); return; case 10: this.outputBox = ((System.Windows.Controls.RichTextBox)(target)); return; case 11: this.inputBox = ((System.Windows.Controls.TextBox)(target)); #line 100 "..\..\..\MainWindow.xaml" this.inputBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBoxKeyDown); #line default #line hidden return; case 12: this.StartThumb = ((System.Windows.Shell.ThumbButtonInfo)(target)); return; case 13: this.StopThumb = ((System.Windows.Shell.ThumbButtonInfo)(target)); return; case 14: this.RestartThumb = ((System.Windows.Shell.ThumbButtonInfo)(target)); return; } this._contentLoaded = true; }