Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.img_top = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.img_bottom = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.btn_close = ((ACB1600.ImageButton)(target));
                return;

            case 4:
                this.myHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 5:
                this.mySwitch = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((ACB1600.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 5 "..\..\MainWindow.xaml"
                ((ACB1600.MainWindow)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Window_MouseWheel);

            #line default
            #line hidden
                return;

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

            case 3:
                this.detail = ((ACB1600.Detail)(target));
                return;

            case 4:
                this.btn_write = ((ACB1600.ImageButton)(target));
                return;

            case 5:
                this.Title = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.btn_close = ((ACB1600.ImageButton)(target));
                return;

            case 7:
                this.btn_size = ((ACB1600.ImageButton)(target));
                return;

            case 8:
                this.btn_min = ((ACB1600.ImageButton)(target));
                return;

            case 9:
                this.grid_rbs = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.rect_right = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 11:
                this.rect_left = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 12:
                this.panel_setting = ((System.Windows.Controls.StackPanel)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.panel_setting.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);

            #line default
            #line hidden

            #line 54 "..\..\MainWindow.xaml"
                this.panel_setting.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseLeave);

            #line default
            #line hidden
                return;

            case 13:
                this.cbox_com = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.tbox_address = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.tbox_repeat = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.img_setting = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.grid_bottom = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.lbl_msg = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }