void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.maingrid = ((System.Windows.Controls.Grid)(target)); return; case 2: this.ok = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\ColorSelectorWindow.xaml" this.ok.Click += new System.Windows.RoutedEventHandler(this.ok_Click); #line default #line hidden return; case 3: this.cancel = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\ColorSelectorWindow.xaml" this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancel_Click); #line default #line hidden return; case 4: this.SimpleColorPicker = ((BSky.Controls.Controls.BSkySimpleColorPicker)(target)); return; } this._contentLoaded = true; }