示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\Controls\UserControls\CoverMessageBoxControl.xaml"
                ((EllaMakerTool.WPF.Controls.UserControls.CoverMessageBoxControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:

            #line 41 "..\..\..\..\Controls\UserControls\CoverMessageBoxControl.xaml"
                ((System.Windows.Controls.DockPanel)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DockPanel_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 4:
                this.TipStrLb = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.MainStrLb = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.okBtn = ((EllaMakerTool.Controls.FButton)(target));

            #line 53 "..\..\..\..\Controls\UserControls\CoverMessageBoxControl.xaml"
                this.okBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.cancelBtn = ((EllaMakerTool.Controls.FButton)(target));

            #line 57 "..\..\..\..\Controls\UserControls\CoverMessageBoxControl.xaml"
                this.cancelBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\Controls\UserControls\UploadUserControl.xaml"
                ((EllaMakerTool.WPF.Controls.UserControls.UploadUserControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Controls\UserControls\UploadUserControl.xaml"
                ((EllaMakerTool.WPF.Controls.UserControls.UploadUserControl)(target)).AddHandler(System.Windows.DragDrop.DragEnterEvent, new System.Windows.DragEventHandler(this.UserControl_DragEnter));

            #line default
            #line hidden

            #line 9 "..\..\..\..\Controls\UserControls\UploadUserControl.xaml"
                ((EllaMakerTool.WPF.Controls.UserControls.UploadUserControl)(target)).Drop += new System.Windows.DragEventHandler(this.UserControl_Drop);

            #line default
            #line hidden
                return;

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

            case 3:
                this.g = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.scr = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 5:
                this.UploadstackPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 6:
                this.Btn_AddFile = ((EllaMakerTool.Controls.FButton)(target));

            #line 37 "..\..\..\..\Controls\UserControls\UploadUserControl.xaml"
                this.Btn_AddFile.Click += new System.Windows.RoutedEventHandler(this.Btn_AddFile_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 21 "..\..\UploadMesWindow.xaml"
                ((System.Windows.Controls.DockPanel)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DockPanel_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.UpdateList = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.upControl = ((EllaMakerTool.WPF.Controls.UserControls.UploadUserControl)(target));
                return;

            case 5:
                this.startBtn = ((EllaMakerTool.Controls.FButton)(target));

            #line 39 "..\..\UploadMesWindow.xaml"
                this.startBtn.Click += new System.Windows.RoutedEventHandler(this.startBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.closeBtn = ((EllaMakerTool.Controls.FButton)(target));
                return;

            case 7:
                this.calBtn = ((EllaMakerTool.Controls.FButton)(target));
                return;
            }
            this._contentLoaded = true;
        }