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

            #line 9 "..\..\Works.xaml"
                ((AddWork.Works)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.ProjectTreeView = ((Aga.Controls.Tree.TreeList)(target));
                return;

            case 4:
                this.tasksDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

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

            case 8:
                this.estStartDateColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 9:
                this.estEndDateColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 10:
                this.startDateColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 11:
                this.endDateColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

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

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

            case 14:
                this.taskStatusIDColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 15:
                this.employeeIDColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

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

            #line 9 "..\..\MainWindow.xaml"
                ((AddWork.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 23 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddProjectButton_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 48 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 53 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveMenuItem_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 58 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteMenuItem_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.projectIDTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.projectNameTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.requiredDeptIDTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.requiredDeptPMIDTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.estStartDateTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.estEndDateTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.startDateTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.endDateTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 16:
                this.projectStatusIDTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.projectCategoryIDTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.projectSupervisorIDTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.isGeneralManagerConcernedCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.treelist1 = ((Aga.Controls.Tree.TreeList)(target));
                return;

            case 21:
                this.DeptTreeView = ((System.Windows.Controls.TreeView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\AddWorkPage_Jason.xaml"
                ((AddWork.AddWorkPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 17 "..\..\AddWorkPage_Jason.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddProjectButton_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 42 "..\..\AddWorkPage_Jason.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveMenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 47 "..\..\AddWorkPage_Jason.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteMenuItem_Click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.projectNameTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.requiredDeptIDComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.requiredDeptPMIDComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.estStartDateTextBox = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.estEndDateTextBox = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 11:
                this.startDateTextBox = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 12:
                this.endDateTextBox = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 14:
                this.inChargeDeptPMIDComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:
                this.projectStatusIDComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.projectCategoryIDComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.projectSupervisorIDComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.isGeneralManagerConcernedCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 19:

            #line 216 "..\..\AddWorkPage_Jason.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AddWorksMenuItem_Click);

            #line default
            #line hidden
                return;

            case 20:

            #line 221 "..\..\AddWorkPage_Jason.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveWorkMenuItem_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.InputWorkName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.InputEmployeeID = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 23:
                this.InputWorkStatusID = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 24:
                this.InputWorkEstStartDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 25:
                this.InputWorkEstEndDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 26:
                this.InputWorkStartDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 27:
                this.InputWorkEndDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 28:
                this.treelist1 = ((Aga.Controls.Tree.TreeList)(target));
                return;

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