void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.CheckBoxUserControl = ((CatTimer_WpfProject.CheckBoxControl)(target)); return; case 2: this.BaseCheckBox = ((System.Windows.Controls.CheckBox)(target)); #line 48 "..\..\..\..\Xaml\Control\CheckBoxControl.xaml" this.BaseCheckBox.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CheckBox_OnPreviewMouseDown); #line default #line hidden #line 49 "..\..\..\..\Xaml\Control\CheckBoxControl.xaml" this.BaseCheckBox.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.CheckBox_OnPreviewMouseUp); #line default #line hidden #line 50 "..\..\..\..\Xaml\Control\CheckBoxControl.xaml" this.BaseCheckBox.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_OnChecked); #line default #line hidden #line 51 "..\..\..\..\Xaml\Control\CheckBoxControl.xaml" this.BaseCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_OnUnchecked); #line default #line hidden #line 52 "..\..\..\..\Xaml\Control\CheckBoxControl.xaml" this.BaseCheckBox.Click += new System.Windows.RoutedEventHandler(this.BaseCheckBox_OnClick); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SettingUiUserControl = ((CatTimer_WpfProject.SettingUiControl)(target)); #line 10 "..\..\..\..\Xaml\Control\SettingUiControl.xaml" this.SettingUiUserControl.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.SettingUiControl_OnIsVisibleChanged); #line default #line hidden return; case 2: this.CloseButtonControl = ((CatTimer_WpfProject.ButtonControl)(target)); return; case 3: this.CloseButton = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\..\..\Xaml\Control\SettingUiControl.xaml" this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_OnClick); #line default #line hidden #line 33 "..\..\..\..\Xaml\Control\SettingUiControl.xaml" this.CloseButton.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CloseButton_OnPreviewMouseDown); #line default #line hidden #line 34 "..\..\..\..\Xaml\Control\SettingUiControl.xaml" this.CloseButton.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.CloseButton_OnPreviewMouseUp); #line default #line hidden return; case 4: this.GithubButton = ((CatTimer_WpfProject.ButtonControl)(target)); return; case 5: this.StaffButton = ((CatTimer_WpfProject.ButtonControl)(target)); return; case 6: this.TitleBorder = ((System.Windows.Controls.Border)(target)); return; case 7: this.IsHaveAudioCheckBoxControl = ((CatTimer_WpfProject.CheckBoxControl)(target)); return; case 8: this.LanguageToggleControl = ((CatTimer_WpfProject.ToggleControl)(target)); return; case 9: this.LanguageGrid = ((System.Windows.Controls.Grid)(target)); return; case 10: this.ChineseButtonControl = ((CatTimer_WpfProject.ButtonControl)(target)); return; case 11: this.EnglishButtonControl = ((CatTimer_WpfProject.ButtonControl)(target)); return; case 12: this.StaffPopup = ((System.Windows.Controls.Primitives.Popup)(target)); #line 144 "..\..\..\..\Xaml\Control\SettingUiControl.xaml" this.StaffPopup.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StaffButton_OnMouseEnter); #line default #line hidden #line 145 "..\..\..\..\Xaml\Control\SettingUiControl.xaml" this.StaffPopup.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StaffButton_OnMouseLeave); #line default #line hidden return; case 13: this.StaffBorder = ((System.Windows.Controls.Border)(target)); return; } this._contentLoaded = true; }