void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MyCustomComboBox = ((WpfPractise.MyComboBox)(target)); return; case 2: this.TextBox = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.Button = ((System.Windows.Controls.Button)(target)); #line 12 "..\..\MyComboBox.xaml" this.Button.Click += new System.Windows.RoutedEventHandler(this.Button_OnClick); #line default #line hidden return; case 4: this.Listbox = ((System.Windows.Controls.ListBox)(target)); #line 13 "..\..\MyComboBox.xaml" this.Listbox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Listbox_OnSelectionChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Box = ((WpfPractise.MyComboBox)(target)); return; } this._contentLoaded = true; }