void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BeginRopeGridStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 2:
                this.CatGrid = ((System.Windows.Controls.Grid)(target));

            #line 121 "..\..\..\..\Xaml\Control\YellowCatControl.xaml"
                this.CatGrid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.CatGrid_OnMouseEnter);

            #line default
            #line hidden

            #line 122 "..\..\..\..\Xaml\Control\YellowCatControl.xaml"
                this.CatGrid.MouseLeave += new System.Windows.Input.MouseEventHandler(this.CatGrid_OnMouseLeave);

            #line default
            #line hidden
                return;

            case 3:
                this.CatButtonControl = ((CatTimer_WpfProject.ButtonControl)(target));
                return;

            case 4:
                this.RopeGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.PauseBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.ResumeBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 7:
                this.PressCatButtonGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonUserControl = ((CatTimer_WpfProject.ButtonControl)(target));
                return;

            case 2:
                this.BaseButton = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\..\..\Xaml\Control\ButtonControl.xaml"
                this.BaseButton.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Button_OnPreviewMouseDown);

            #line default
            #line hidden

            #line 51 "..\..\..\..\Xaml\Control\ButtonControl.xaml"
                this.BaseButton.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Button_OnPreviewMouseUp);

            #line default
            #line hidden

            #line 52 "..\..\..\..\Xaml\Control\ButtonControl.xaml"
                this.BaseButton.Click += new System.Windows.RoutedEventHandler(this.Button_OnClick);

            #line default
            #line hidden
                return;

            case 3:
                this.IconBorder = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        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;
        }
Example #4
0
        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;
        }
Example #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TimingUserControl = ((CatTimer_WpfProject.TimingControl)(target));
                return;

            case 2:
                this.MinuteTextBlock = ((System.Windows.Controls.TextBox)(target));

            #line 56 "..\..\..\..\Xaml\Control\TimingControl.xaml"
                this.MinuteTextBlock.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_PreviewTextInput);

            #line default
            #line hidden

            #line 57 "..\..\..\..\Xaml\Control\TimingControl.xaml"
                this.MinuteTextBlock.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txt_PreviewKeyDown);

            #line default
            #line hidden

            #line 58 "..\..\..\..\Xaml\Control\TimingControl.xaml"
                this.MinuteTextBlock.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.txt_OnPreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 3:
                this.SecondTextBlock = ((System.Windows.Controls.TextBox)(target));

            #line 81 "..\..\..\..\Xaml\Control\TimingControl.xaml"
                this.SecondTextBlock.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_PreviewTextInput);

            #line default
            #line hidden

            #line 82 "..\..\..\..\Xaml\Control\TimingControl.xaml"
                this.SecondTextBlock.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txt_PreviewKeyDown);

            #line default
            #line hidden

            #line 83 "..\..\..\..\Xaml\Control\TimingControl.xaml"
                this.SecondTextBlock.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.txt_OnPreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 4:
                this.MinuteUpButton = ((CatTimer_WpfProject.ButtonControl)(target));
                return;

            case 5:
                this.MinuteDownButton = ((CatTimer_WpfProject.ButtonControl)(target));
                return;

            case 6:
                this.SecondUpButton = ((CatTimer_WpfProject.ButtonControl)(target));
                return;

            case 7:
                this.SecondDownButton = ((CatTimer_WpfProject.ButtonControl)(target));
                return;

            case 8:
                this.SrartButton = ((CatTimer_WpfProject.ButtonControl)(target));
                return;
            }
            this._contentLoaded = true;
        }