void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ribbon = ((System.Windows.Controls.Ribbon.Ribbon)(target)); #line 12 "..\..\MainWindow.xaml" this.ribbon.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ribbon_SelectionChanged); #line default #line hidden return; case 3: this.appMenu1 = ((System.Windows.Controls.Ribbon.RibbonApplicationMenu)(target)); return; case 5: this.rt2 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 6: this.rt3 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 7: this.rt4 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 8: this.rt5 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 9: this.rt6 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 10: this.rt7 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 11: this.frame1 = ((System.Windows.Controls.Frame)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.root = ((System.Windows.Controls.Grid)(target)); return; case 2: this.ribbon = ((System.Windows.Controls.Ribbon.Ribbon)(target)); return; case 4: this.appMenu1 = ((System.Windows.Controls.Ribbon.RibbonApplicationMenu)(target)); return; case 6: this.rt1 = ((System.Windows.Controls.Ribbon.RibbonTab)(target)); return; case 7: this.rrbPen = ((System.Windows.Controls.Ribbon.RibbonRadioButton)(target)); return; case 8: this.rrbInk = ((System.Windows.Controls.Ribbon.RibbonRadioButton)(target)); return; case 9: this.rt2 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 10: this.rt3 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 11: this.rt4 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 12: this.rt5 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 13: this.rt6 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 14: this.rt7 = ((InkExamples.UserControls.MyRibbonTab)(target)); return; case 15: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 16: this.frame1 = ((System.Windows.Controls.Frame)(target)); return; } this._contentLoaded = true; }