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

            #line 6 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((MasterSchedule.Views.RawMaterialWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((MasterSchedule.Views.RawMaterialWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 7 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((MasterSchedule.Views.RawMaterialWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 7 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((MasterSchedule.Views.RawMaterialWindow)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden
                return;

            case 2:

            #line 12 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCommandBinding_Executed);

            #line default
            #line hidden
                return;

            case 3:
                this.btnSave = ((System.Windows.Controls.MenuItem)(target));

            #line 24 "..\..\..\..\Views\RawMaterialWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.dgRawMaterial = ((MasterSchedule.Customs.CustomDataGrid)(target));

            #line 133 "..\..\..\..\Views\RawMaterialWindow.xaml"
                this.dgRawMaterial.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.dgRawMaterial_ScrollChanged));

            #line default
            #line hidden
                return;

            case 6:
                this.miDisable = ((System.Windows.Controls.MenuItem)(target));

            #line 148 "..\..\..\..\Views\RawMaterialWindow.xaml"
                this.miDisable.Click += new System.Windows.RoutedEventHandler(this.miDisable_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Column1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 8:
                this.Column2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 9:
                this.Column3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 10:
                this.Column4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:
                this.Column5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.Column5_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.Column6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.Column7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.Column7_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.Column7_1_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 17:
                this.Column7_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.Column10_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 19:
                this.Column10_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 20:
                this.Column10_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 21:
                this.Column8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 22:
                this.Column9 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 23:
                this.Column10 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 24:
                this.Column11 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 25:
                this.Column12 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 26:
                this.Column13 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 27:
                this.Column14 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 28:
                this.Column15 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 29:
                this.Column16 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.Column17 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.Column18 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.Column19 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.Column20 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.Column21 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.Column22 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 36:
                this.Column23 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.Column24 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.Column25 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.Column25_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.Column25_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.Column25_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.Column25_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.Column25_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 44:
                this.Column25_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.Column26 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 46:
                this.Column27 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 47:
                this.Column28 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 48:
                this.Column29 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 49:
                this.Column30 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 50:
                this.Column31 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 51:
                this.Column32 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 52:
                this.Column33 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 53:
                this.Column34 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 54:
                this.Column35 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 55:
                this.Column36 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 56:
                this.Column37 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 57:
                this.Column38 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 58:
                this.btnReload = ((System.Windows.Controls.Button)(target));

            #line 260 "..\..\..\..\Views\RawMaterialWindow.xaml"
                this.btnReload.Click += new System.Windows.RoutedEventHandler(this.btnReload_Click);

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

            #line 6 "..\..\..\..\Views\Copy of OutsoleMasterWindow.xaml"
                ((MasterSchedule.Views.OutsoleMasterWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\Copy of OutsoleMasterWindow.xaml"
                ((MasterSchedule.Views.OutsoleMasterWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\..\..\Views\Copy of OutsoleMasterWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCommandBinding_Executed);

            #line default
            #line hidden
                return;

            case 3:
                this.btnSave = ((System.Windows.Controls.MenuItem)(target));

            #line 22 "..\..\..\..\Views\Copy of OutsoleMasterWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.lblPopup = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.popup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 6:
                this.listView = ((System.Windows.Controls.ListView)(target));
                return;

            case 7:
                this.dgSewingMaster = ((MasterSchedule.Customs.CustomDataGrid)(target));
                return;

            case 8:
                this.colOutsoleLine = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 9:
                this.colOutsoleQuota = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 10:
                this.colOutsoleActualStartDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:
                this.colOutsoleActualFinishDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.colOutsoleBalance = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.btnCaculate = ((System.Windows.Controls.Button)(target));

            #line 93 "..\..\..\..\Views\Copy of OutsoleMasterWindow.xaml"
                this.btnCaculate.Click += new System.Windows.RoutedEventHandler(this.btnCaculate_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:

            #line 6 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((MasterSchedule.Views.AssemblyMasterWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((MasterSchedule.Views.AssemblyMasterWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((MasterSchedule.Views.AssemblyMasterWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((MasterSchedule.Views.AssemblyMasterWindow)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCommandBinding_Executed);

            #line default
            #line hidden
                return;

            case 3:
                this.btnSave = ((System.Windows.Controls.MenuItem)(target));

            #line 22 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.lblPopup = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.popup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 6:
                this.listView = ((System.Windows.Controls.ListView)(target));
                return;

            case 7:
                this.dgSewingMaster = ((MasterSchedule.Customs.CustomDataGrid)(target));
                return;

            case 8:
                this.ctmTranfer = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 9:
                this.miTranfer = ((System.Windows.Controls.MenuItem)(target));

            #line 65 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                this.miTranfer.Click += new System.Windows.RoutedEventHandler(this.miTranfer_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.colCountry = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:
                this.colStyle = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.colETD = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.colAssemblyLine = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.colAssemblyQuota = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.colAssemblyActualStartDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.colAssemblyActualFinishDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 17:
                this.colAssemblyBalance = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.btnCaculate = ((System.Windows.Controls.Button)(target));

            #line 156 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                this.btnCaculate.Click += new System.Windows.RoutedEventHandler(this.btnCaculate_Click);

            #line default
            #line hidden
                return;

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

            #line 157 "..\..\..\..\Views\AssemblyMasterWindow.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.prgStatus = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 21:
                this.lblStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\Views\SewingMasterWindow.xaml"
                ((MasterSchedule.Views.SewingMasterWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\SewingMasterWindow.xaml"
                ((MasterSchedule.Views.SewingMasterWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\SewingMasterWindow.xaml"
                ((MasterSchedule.Views.SewingMasterWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\SewingMasterWindow.xaml"
                ((MasterSchedule.Views.SewingMasterWindow)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\..\..\Views\SewingMasterWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCommandBinding_Executed);

            #line default
            #line hidden
                return;

            case 3:
                this.btnSave = ((System.Windows.Controls.MenuItem)(target));

            #line 22 "..\..\..\..\Views\SewingMasterWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.miReport = ((System.Windows.Controls.MenuItem)(target));

            #line 23 "..\..\..\..\Views\SewingMasterWindow.xaml"
                this.miReport.Click += new System.Windows.RoutedEventHandler(this.miReport_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.lblPopup = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.popup = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 7:
                this.listView = ((System.Windows.Controls.ListView)(target));
                return;

            case 8:
                this.dgSewingMaster = ((MasterSchedule.Customs.CustomDataGrid)(target));
                return;

            case 9:
                this.ctmTranfer = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 10:
                this.miTranfer = ((System.Windows.Controls.MenuItem)(target));

            #line 68 "..\..\..\..\Views\SewingMasterWindow.xaml"
                this.miTranfer.Click += new System.Windows.RoutedEventHandler(this.miTranfer_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.miPrintSizeRun = ((System.Windows.Controls.MenuItem)(target));

            #line 69 "..\..\..\..\Views\SewingMasterWindow.xaml"
                this.miPrintSizeRun.Click += new System.Windows.RoutedEventHandler(this.miPrintSizeRun_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.colCountry = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.colStyle = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.colETD = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.colShipDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.colSewingLine = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 17:
                this.colSewingPrep = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.colSewingQuota = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 19:
                this.colSewingActualStartDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 20:
                this.colSewingActualFinishDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 21:
                this.colSewingActualStartDateAuto = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 22:
                this.colSewingActualFinishDateAuto = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 23:
                this.colSewingBalance = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 24:
                this.colCutBStartDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 25:
                this.colCutAQuota = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 26:
                this.colAtomCutA = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 27:
                this.colAtomCutB = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 28:
                this.colLaserCutA = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 29:
                this.colLaserCutB = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.colHuasenCutA = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.colHuasenCutB = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.colComelzCutA = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.colComelzCutB = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.colCutAActualStartDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.colCutAActualFinishDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 36:
                this.colCutABalance = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.colH_FBalance = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.colCutBBalance = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.btnCaculate = ((System.Windows.Controls.Button)(target));

            #line 186 "..\..\..\..\Views\SewingMasterWindow.xaml"
                this.btnCaculate.Click += new System.Windows.RoutedEventHandler(this.btnCaculate_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.btnRefresh = ((System.Windows.Controls.Button)(target));

            #line 187 "..\..\..\..\Views\SewingMasterWindow.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.prgStatus = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 42:
                this.lblStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\..\Views\ImportMachineRequirementWindow.xaml"
                ((MasterSchedule.Views.ImportMachineRequirementWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.scrHeader = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 3:
                this.dgMachineRequirement = ((MasterSchedule.Customs.CustomDataGrid)(target));

            #line 94 "..\..\..\..\Views\ImportMachineRequirementWindow.xaml"
                this.dgMachineRequirement.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.dgMachineRequirement_ScrollChanged));

            #line default
            #line hidden
                return;

            case 4:
                this.Column1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 5:
                this.Column2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 6:
                this.Column3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 7:
                this.Column4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 8:
                this.Column4_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 9:
                this.Column4_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 10:
                this.Column4_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:
                this.Column4_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.Column4_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.Column4_5_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.Column4_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.Column5_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.Column5_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 17:
                this.Column5_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.Column5_3_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 19:
                this.Column5_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 20:
                this.Column5_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 21:
                this.Column5_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 22:
                this.Column6_1_0 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 23:
                this.Column6_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 24:
                this.Column6_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 25:
                this.Column6_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 26:
                this.Column6_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 27:
                this.Column6_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 28:
                this.Column6_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 29:
                this.Column6_7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.Column6_8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.Column6_9 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.Column6_10 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.Column6_11 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.Column6_12 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.Column7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 36:
                this.Column7_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.Column7_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.Column7_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.Column7_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.Column7_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.Column7_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.Column7_7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.Column7_8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 44:
                this.Column8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.Column8_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 46:
                this.Column8_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 47:
                this.Column8_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 48:
                this.Column8_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 49:
                this.Column8_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 50:
                this.Column8_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 51:
                this.Column8_7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 52:
                this.Column8_8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 53:
                this.Column8_9 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 54:
                this.btnImport = ((System.Windows.Controls.Button)(target));

            #line 165 "..\..\..\..\Views\ImportMachineRequirementWindow.xaml"
                this.btnImport.Click += new System.Windows.RoutedEventHandler(this.btnImport_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 56:
                this.lblStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\..\Views\MachineRequirementScheduleChartWindow.xaml"
                ((MasterSchedule.Views.MachineRequirementScheduleChartWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dpDateFrom = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 3:
                this.dpDateTo = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 4:
                this.cboSection = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.C = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 6:
                this.P = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 7:
                this.S = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 8:
                this.SF = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 9:
                this.A = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 10:
                this.btnViewResult = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\..\Views\MachineRequirementScheduleChartWindow.xaml"
                this.btnViewResult.Click += new System.Windows.RoutedEventHandler(this.btnViewResult_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.lblTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.scrHeader = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 13:
                this.dgvTotal = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 14:
                this.dgMachineRequirementChart = ((MasterSchedule.Customs.CustomDataGrid)(target));

            #line 50 "..\..\..\..\Views\MachineRequirementScheduleChartWindow.xaml"
                this.dgMachineRequirementChart.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.dgMachineRequirementChart_ScrollChanged));

            #line default
            #line hidden
                return;

            case 15:
                this.gridLine = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.lblMachineAvailable = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.txtMachineAvailable = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.scrHeader = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 2:
                this.dgAvailableMachine = ((MasterSchedule.Customs.CustomDataGrid)(target));

            #line 83 "..\..\..\..\Views\UpdateAvailableMachineWindow.xaml"
                this.dgAvailableMachine.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.dgAvailableMachine_ScrollChanged));

            #line default
            #line hidden
                return;

            case 3:
                this.Column1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 4:
                this.Column4_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 5:
                this.Column4_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 6:
                this.Column4_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 7:
                this.Column4_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 8:
                this.Column4_5_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 9:
                this.Column4_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 10:
                this.Column5_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:
                this.Column5_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.Column5_3_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.Column5_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.Column5_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.Column5_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.Column6_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 17:
                this.Column6_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.Column6_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 19:
                this.Column6_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 20:
                this.Column6_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 21:
                this.Column6_7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 22:
                this.Column6_8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 23:
                this.Column6_9 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 24:
                this.Column6_10 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 25:
                this.Column6_11 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 26:
                this.Column6_12 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 27:
                this.Column7_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 28:
                this.Column7_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 29:
                this.Column7_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.Column7_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.Column7_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.Column7_7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.Column7_8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.Column8_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.Column8_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 36:
                this.Column8_4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.Column8_5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.Column8_6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.Column8_7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.Column8_8 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.Column8_9 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.btnUpdateAvailableMachine = ((System.Windows.Controls.Button)(target));

            #line 145 "..\..\..\..\Views\UpdateAvailableMachineWindow.xaml"
                this.btnUpdateAvailableMachine.Click += new System.Windows.RoutedEventHandler(this.btnUpdateAvailableMachine_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.txtId = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 155 "..\..\..\..\Views\UpdateAvailableMachineWindow.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.btnDelete = ((System.Windows.Controls.Button)(target));

            #line 156 "..\..\..\..\Views\UpdateAvailableMachineWindow.xaml"
                this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }