void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ConvertButtonUserControl = ((EasyBugManagerTool.ConvertButtonControl)(target));
                return;

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 22 "..\..\..\..\..\Xaml\Control\Perfab\ConvertButtonControl.xaml"
                this.BaseButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.BaseButton_OnMouseEnter);

            #line default
            #line hidden

            #line 23 "..\..\..\..\..\Xaml\Control\Perfab\ConvertButtonControl.xaml"
                this.BaseButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.BaseButton_OnMouseLeave);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 3:
                this.ButtonImageBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.BaseButtonScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainUiUserControl = ((EasyBugManagerTool.MainUiControl)(target));
                return;

            case 2:
                this.BackgroudBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 3:

            #line 48 "..\..\..\..\..\Xaml\Control\Ui\MainUiControl.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowTitleBorder_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 4:
                this.MinimizeButtonControl = ((EasyBugManagerTool.YesButtonControl)(target));
                return;

            case 5:
                this.CloseButtonControl = ((EasyBugManagerTool.NoButtonControl)(target));
                return;

            case 6:
                this.RepairButtonControl = ((EasyBugManagerTool.RepairButtonControl)(target));
                return;

            case 7:
                this.ConvertButtonControl = ((EasyBugManagerTool.ConvertButtonControl)(target));
                return;

            case 8:
                this.ForegroundCanvas = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }