Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((JM_GluingSystem.Views.MainWindow)(target));

            #line 9 "..\..\..\Views\MainWindow2.xaml"
                this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Load);

            #line default
            #line hidden
                return;

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

            case 4:
                this.cancle = ((System.Windows.Documents.Hyperlink)(target));

            #line 182 "..\..\..\Views\MainWindow2.xaml"
                this.cancle.Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.cd = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 6:
                this.tbTimeText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.MonitorModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 8:
                this.listManage1 = ((System.Windows.Controls.ListBox)(target));

            #line 220 "..\..\..\Views\MainWindow2.xaml"
                this.listManage1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 9:
                this.ReportModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 10:
                this.listManage2 = ((System.Windows.Controls.ListBox)(target));

            #line 245 "..\..\..\Views\MainWindow2.xaml"
                this.listManage2.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 11:
                this.AlarmModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 12:
                this.listManage3 = ((System.Windows.Controls.ListBox)(target));

            #line 266 "..\..\..\Views\MainWindow2.xaml"
                this.listManage3.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 13:
                this.WorkOrderModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 14:
                this.listManage4 = ((System.Windows.Controls.ListBox)(target));

            #line 287 "..\..\..\Views\MainWindow2.xaml"
                this.listManage4.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 15:
                this.UserInFoModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 16:
                this.listManage5 = ((System.Windows.Controls.ListBox)(target));

            #line 308 "..\..\..\Views\MainWindow2.xaml"
                this.listManage5.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 17:

            #line 331 "..\..\..\Views\MainWindow2.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.No_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 18:
                this.MainPanel = ((System.Windows.Controls.TabControl)(target));
                return;

            case 19:
                this.btnPlay = ((System.Windows.Controls.Button)(target));

            #line 350 "..\..\..\Views\MainWindow2.xaml"
                this.btnPlay.Click += new System.Windows.RoutedEventHandler(this.BtnPlay_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnPause = ((System.Windows.Controls.Button)(target));

            #line 351 "..\..\..\Views\MainWindow2.xaml"
                this.btnPause.Click += new System.Windows.RoutedEventHandler(this.BtnPause_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btnStop = ((System.Windows.Controls.Button)(target));

            #line 352 "..\..\..\Views\MainWindow2.xaml"
                this.btnStop.Click += new System.Windows.RoutedEventHandler(this.BtnStop_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.Media = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 23:
                this.Visual = ((System.Windows.Documents.Hyperlink)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((JM_GluingSystem.Views.MainWindow)(target));

            #line 9 "..\..\..\Views\MainWindow.xaml"
                this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Load);

            #line default
            #line hidden
                return;

            case 3:

            #line 189 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.No_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 4:
                this.userName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.cancle = ((System.Windows.Documents.Hyperlink)(target));

            #line 203 "..\..\..\Views\MainWindow.xaml"
                this.cancle.Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.cd = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 7:
                this.tbTimeText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.MonitorModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 9:
                this.listManage1 = ((System.Windows.Controls.ListBox)(target));

            #line 242 "..\..\..\Views\MainWindow.xaml"
                this.listManage1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 10:
                this.ReportModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 11:
                this.listManage2 = ((System.Windows.Controls.ListBox)(target));

            #line 267 "..\..\..\Views\MainWindow.xaml"
                this.listManage2.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 12:
                this.AlarmModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 13:
                this.listManage3 = ((System.Windows.Controls.ListBox)(target));

            #line 288 "..\..\..\Views\MainWindow.xaml"
                this.listManage3.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 14:
                this.WorkOrderModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 15:
                this.listManage4 = ((System.Windows.Controls.ListBox)(target));

            #line 308 "..\..\..\Views\MainWindow.xaml"
                this.listManage4.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 16:
                this.UserInFoModule = ((System.Windows.Controls.Expander)(target));
                return;

            case 17:
                this.listManage5 = ((System.Windows.Controls.ListBox)(target));

            #line 329 "..\..\..\Views\MainWindow.xaml"
                this.listManage5.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 18:
                this.MainPanel = ((System.Windows.Controls.TabControl)(target));
                return;

            case 19:
                this.Visual = ((System.Windows.Documents.Hyperlink)(target));
                return;

            case 20:
                this.Load = ((System.Windows.Controls.Image)(target));
                return;

            case 21:
                this.FilmMulch = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.Gluing = ((System.Windows.Controls.Image)(target));
                return;

            case 23:
                this.Fill = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.Press = ((System.Windows.Controls.Image)(target));
                return;

            case 25:
                this.Polish = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.Welding = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.RemoveSmokeTrain = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.Check = ((System.Windows.Controls.Image)(target));
                return;

            case 29:
                this.Unload = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }