示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Grind.WPF.CSharp.TaskTrackingForm)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.txtName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.txtTitle = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.gbTaskStatus = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 6:
     this.grdTaskStatus = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.dtpOpen = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 8:
     this.dtpAnalysis = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 9:
     this.dtpReview = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 10:
     this.dtpCorrection = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 11:
     this.dtpPromotion = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 12:
     this.dtpCollection = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 13:
     this.dtpClosed = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 14:
     this.lblOpen = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.sldTaskStatus = ((System.Windows.Controls.Slider)(target));
     return;
     case 16:
     this.gbTaskOptions = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 17:
     this.dtpTargetDate = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 18:
     this.rbBug = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 19:
     this.rbHL = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 20:
     this.rbHMA = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 21:
     this.rbBacklog = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 22:
     this.rbCRITSIT = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 23:
     this.rbOthers = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 24:
     this.chkApproval = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 25:
     this.cbExecutor = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 26:
     this.cbReviewer = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 27:
     this.txtDescription = ((System.Windows.Controls.TextBox)(target));
     return;
     case 28:
     this.txtAnalysis = ((System.Windows.Controls.TextBox)(target));
     return;
     case 29:
     this.txtReview = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\MainWindow.xaml"
     ((Grind.WPF.CSharp.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.sbiMessage = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
     return;
     case 3:
     this.sbiState = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
     return;
     case 4:
     this.tbTasks = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.bdrLogin = ((System.Windows.Controls.Border)(target));
     return;
     case 7:
     this.txtTrigram = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 9:
     this.btnLogin = ((System.Windows.Controls.Button)(target));
     
     #line 40 "..\..\MainWindow.xaml"
     this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnRefresh = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\MainWindow.xaml"
     this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnDownloadTasks = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.btnDownloadTasks.Click += new System.Windows.RoutedEventHandler(this.btnDownloadTasks_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnNew = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\MainWindow.xaml"
     this.btnNew.Click += new System.Windows.RoutedEventHandler(this.btnNew_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.btnUpdate = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\MainWindow.xaml"
     this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.chkOffline = ((System.Windows.Controls.CheckBox)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.chkOffline.Checked += new System.Windows.RoutedEventHandler(this.chkOffline_Checked);
     
     #line default
     #line hidden
     
     #line 47 "..\..\MainWindow.xaml"
     this.chkOffline.Unchecked += new System.Windows.RoutedEventHandler(this.chkOffline_Unchecked);
     
     #line default
     #line hidden
     return;
     case 15:
     this.dGridTasks = ((System.Windows.Controls.DataGrid)(target));
     
     #line 49 "..\..\MainWindow.xaml"
     this.dGridTasks.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dGridTasks_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.ttfrmControl = ((Grind.WPF.CSharp.TaskTrackingForm)(target));
     return;
     case 17:
     this.tbUsers = ((System.Windows.Controls.TabItem)(target));
     return;
     case 18:
     this.userMaintenanceControl1 = ((Grind.WPF.CSharp.UserMaintenanceControl)(target));
     return;
     case 19:
     this.tbChat = ((System.Windows.Controls.TabItem)(target));
     return;
     case 20:
     this.ChatsControl = ((Grind.WPF.CSharp.ChatsControl)(target));
     return;
     }
     this._contentLoaded = true;
 }