void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnChooseColor = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 2: this.colorPickerPopup = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 3: this.colorPicker = ((OperationsDashboardAddIns.Controls.ColorPicker)(target)); return; case 4: #line 97 "..\..\SketchToolbar.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveSketch_Click); #line default #line hidden return; case 5: #line 105 "..\..\SketchToolbar.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MailSketch_Click); #line default #line hidden return; case 6: #line 113 "..\..\SketchToolbar.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DiscardSketch_Click); #line default #line hidden return; case 7: this.DoneButton = ((System.Windows.Controls.Button)(target)); #line 122 "..\..\SketchToolbar.xaml" this.DoneButton.Click += new System.Windows.RoutedEventHandler(this.DoneButton_Click); #line default #line hidden return; } this._contentLoaded = true; }