void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SettingUiUserControl = ((CatTimer_WpfProject.SettingUiControl)(target)); return; case 2: this.LanguageToggleControl = ((CatTimer_WpfProject.ToggleControl)(target)); return; case 3: this.LanguageGrid = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ToggleUserControl = ((CatTimer_WpfProject.ToggleControl)(target)); return; case 2: this.BaseCheckBox = ((System.Windows.Controls.CheckBox)(target)); #line 48 "..\..\..\..\Xaml\Control\ToggleControl.xaml" this.BaseCheckBox.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CheckBox_OnPreviewMouseDown); #line default #line hidden #line 49 "..\..\..\..\Xaml\Control\ToggleControl.xaml" this.BaseCheckBox.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.CheckBox_OnPreviewMouseUp); #line default #line hidden #line 50 "..\..\..\..\Xaml\Control\ToggleControl.xaml" this.BaseCheckBox.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_OnChecked); #line default #line hidden #line 51 "..\..\..\..\Xaml\Control\ToggleControl.xaml" this.BaseCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_OnUnchecked); #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; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 12 "..\..\MainWindow.xaml" ((CatTimer_WpfProject.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded); #line default #line hidden #line 13 "..\..\MainWindow.xaml" ((CatTimer_WpfProject.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.MainWindow_OnPreviewKeyDown); #line default #line hidden return; case 2: this.taskbarItemInfo = ((System.Windows.Shell.TaskbarItemInfo)(target)); return; case 3: this.ClockUserControl = ((CatTimer_WpfProject.ClockControl)(target)); return; case 4: this.PausedUiUserControl = ((CatTimer_WpfProject.PausedUiControl)(target)); return; case 5: this.BlackCatUserControl = ((CatTimer_WpfProject.BlackCatControl)(target)); return; case 6: this.YellowCatUserControl = ((CatTimer_WpfProject.YellowCatControl)(target)); return; case 7: this.TimingUserControl = ((CatTimer_WpfProject.TimingControl)(target)); return; case 8: this.SettingUiUserControl = ((CatTimer_WpfProject.SettingUiControl)(target)); return; case 9: this.WindowTitleBorder = ((System.Windows.Controls.Border)(target)); #line 82 "..\..\MainWindow.xaml" this.WindowTitleBorder.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowTitleBorder_MouseLeftButtonDown); #line default #line hidden return; case 10: this.SettingToggleControl = ((CatTimer_WpfProject.ToggleControl)(target)); return; case 11: this.MinimumWindowButtonControl = ((CatTimer_WpfProject.ButtonControl)(target)); return; case 12: this.CloseWindowButtonControl = ((CatTimer_WpfProject.ButtonControl)(target)); return; } this._contentLoaded = true; }