本文整理汇总了C#中Microsoft.Windows.Controls.DatePicker类的典型用法代码示例。如果您正苦于以下问题:C# DatePicker类的具体用法?C# DatePicker怎么用?C# DatePicker使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DatePicker类属于Microsoft.Windows.Controls命名空间,在下文中一共展示了DatePicker类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.dtp = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
}
this._contentLoaded = true;
}
示例2: DatePickerAutomationPeer
/// <summary>
/// Initializes a new instance of the AutomationPeer for DatePicker control.
/// </summary>
/// <param name="owner">DatePicker</param>
public DatePickerAutomationPeer(DatePicker owner)
: base(owner)
{
}
示例3: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.DocumentManager = ((WpfFront.Views.DocumentManagerView)(target));
return;
case 2:
this.expHeader = ((Odyssey.Controls.OdcExpander)(target));
#line 30 "..\..\..\..\Trace\Views\DocumentManagerView.xaml"
this.expHeader.Expanded += new System.Windows.RoutedEventHandler(this.expLabel_Expanded);
#line default
#line hidden
#line 30 "..\..\..\..\Trace\Views\DocumentManagerView.xaml"
this.expHeader.Collapsed += new System.Windows.RoutedEventHandler(this.expLabel_Collapsed);
#line default
#line hidden
return;
case 3:
this.stk_DatosDocumento = ((System.Windows.Controls.StackPanel)(target));
return;
case 4:
this.Lst_DocType = ((System.Windows.Controls.ComboBox)(target));
#line 38 "..\..\..\..\Trace\Views\DocumentManagerView.xaml"
this.Lst_DocType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Lst_DocType_SelectionChanged);
#line default
#line hidden
return;
case 5:
this.Txt_DocNumber = ((System.Windows.Controls.TextBox)(target));
return;
case 6:
this.Lst_Location = ((System.Windows.Controls.ComboBox)(target));
return;
case 7:
this.stkVendor = ((System.Windows.Controls.StackPanel)(target));
return;
case 8:
this.txtb_VendorID = ((System.Windows.Controls.TextBlock)(target));
return;
case 9:
this.txt_VendorID = ((WpfFront.Common.UserControls.SearchAccount)(target));
return;
case 10:
this.stkCustomer = ((System.Windows.Controls.StackPanel)(target));
return;
case 11:
this.txtb_CustomerID = ((System.Windows.Controls.TextBlock)(target));
return;
case 12:
this.txt_CustomerID = ((WpfFront.Common.UserControls.SearchAccount)(target));
return;
case 13:
this.txtDates = ((System.Windows.Controls.TextBlock)(target));
return;
case 14:
this.stk_Fechas = ((System.Windows.Controls.StackPanel)(target));
return;
case 15:
this.Txt_Date = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 16:
this.stkDate2 = ((System.Windows.Controls.StackPanel)(target));
return;
case 17:
this.txtb_Date2 = ((System.Windows.Controls.TextBlock)(target));
return;
case 18:
this.Txt_Date2 = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 19:
this.stkDate3 = ((System.Windows.Controls.StackPanel)(target));
return;
case 20:
this.txtb_Date3 = ((System.Windows.Controls.TextBlock)(target));
return;
case 21:
this.Txt_Date3 = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 22:
this.stkDate4 = ((System.Windows.Controls.StackPanel)(target));
return;
case 23:
this.txtb_Date4 = ((System.Windows.Controls.TextBlock)(target));
return;
case 24:
this.Txt_Date4 = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 25:
this.stkDate5 = ((System.Windows.Controls.StackPanel)(target));
return;
case 26:
this.txtb_Date5 = ((System.Windows.Controls.TextBlock)(target));
return;
case 27:
//.........这里部分代码省略.........
示例4: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.dtpStartDate = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 2:
this.dtpEndDate = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 3:
this._province1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 4:
this._city1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 5:
this._region1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 6:
this._source_company1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 7:
this._detect_station = ((System.Windows.Controls.ComboBox)(target));
return;
case 8:
this._detect_person1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 9:
this._query = ((System.Windows.Controls.Button)(target));
#line 89 "..\..\..\Manager\SysDetectReport.xaml"
this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);
#line default
#line hidden
return;
case 10:
this._export = ((System.Windows.Controls.Button)(target));
#line 90 "..\..\..\Manager\SysDetectReport.xaml"
this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);
#line default
#line hidden
return;
case 11:
this._hj = ((System.Windows.Controls.TextBlock)(target));
return;
case 12:
this._title = ((System.Windows.Controls.TextBlock)(target));
return;
case 13:
this._sj = ((System.Windows.Controls.TextBlock)(target));
return;
case 14:
this.livst = ((System.Windows.Controls.ListView)(target));
return;
case 15:
this.Column1 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 16:
this.Column2 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 17:
this.Column3 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 18:
this.Column4 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 19:
this.Column5 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 20:
this.Column6 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 21:
this.Column7 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 22:
this.Column8 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 23:
this.Column9 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 24:
this.Column10 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 25:
this.Column11 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 26:
this.Column12 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 27:
this.Column13 = ((System.Windows.Controls.GridViewColumn)(target));
return;
case 28:
this.Column14 = ((System.Windows.Controls.GridViewColumn)(target));
return;
}
//.........这里部分代码省略.........
示例5: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.dtpStartDate = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 2:
this.dtpEndDate = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 3:
this._province1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 4:
this._city1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 5:
this._region1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 6:
this._source_company1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 7:
this._detect_station = ((System.Windows.Controls.ComboBox)(target));
return;
case 8:
this._detect_person1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 9:
this._detect_item1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 10:
this._detect_method = ((System.Windows.Controls.ComboBox)(target));
return;
case 11:
this._detect_object1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 12:
this._detect_type = ((System.Windows.Controls.ComboBox)(target));
return;
case 13:
this._detect_result1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 14:
this._query = ((System.Windows.Controls.Button)(target));
#line 93 "..\..\..\Manager\SysNewDetectCyQuery.xaml"
this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);
#line default
#line hidden
return;
case 15:
this._export = ((System.Windows.Controls.Button)(target));
#line 94 "..\..\..\Manager\SysNewDetectCyQuery.xaml"
this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);
#line default
#line hidden
return;
case 16:
this._hj = ((System.Windows.Controls.TextBlock)(target));
return;
case 17:
this._title = ((System.Windows.Controls.TextBlock)(target));
return;
case 18:
this._sj = ((System.Windows.Controls.TextBlock)(target));
return;
case 19:
this.grid_table = ((System.Windows.Controls.Grid)(target));
return;
case 20:
this._tableview = ((FoodSafetyMonitoring.Manager.UserControls.UcTableOperableView_NoTitle)(target));
return;
}
this._contentLoaded = true;
}
示例6: switch
//.........这里部分代码省略.........
#line default
#line hidden
#line 81 "..\..\..\Manager\UcQuarantineRecord.xaml"
this._no_zq.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Object_Count_PreviewTextInput);
#line default
#line hidden
return;
case 14:
this._object_type_zq2 = ((System.Windows.Controls.TextBox)(target));
return;
case 15:
this._qua_card_id = ((System.Windows.Controls.TextBox)(target));
return;
case 16:
this._ok_tb = ((System.Windows.Controls.TextBox)(target));
#line 93 "..\..\..\Manager\UcQuarantineRecord.xaml"
this._ok_tb.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.Object_Count_Pasting));
#line default
#line hidden
#line 93 "..\..\..\Manager\UcQuarantineRecord.xaml"
this._ok_tb.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Object_Count_PreviewKeyDown);
#line default
#line hidden
#line 93 "..\..\..\Manager\UcQuarantineRecord.xaml"
this._ok_tb.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Object_Count_PreviewTextInput);
#line default
#line hidden
return;
case 17:
this._object_type_tb = ((System.Windows.Controls.TextBox)(target));
return;
case 18:
this._no_tb = ((System.Windows.Controls.TextBox)(target));
#line 96 "..\..\..\Manager\UcQuarantineRecord.xaml"
this._no_tb.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.Object_Count_Pasting));
#line default
#line hidden
#line 96 "..\..\..\Manager\UcQuarantineRecord.xaml"
this._no_tb.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Object_Count_PreviewKeyDown);
#line default
#line hidden
#line 96 "..\..\..\Manager\UcQuarantineRecord.xaml"
this._no_tb.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Object_Count_PreviewTextInput);
#line default
#line hidden
return;
case 19:
this._object_type_tb2 = ((System.Windows.Controls.TextBox)(target));
return;
case 20:
this._card_id_tb = ((System.Windows.Controls.TextBox)(target));
return;
case 21:
this._bz = ((System.Windows.Controls.TextBox)(target));
return;
case 22:
this._entering_datetime = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 23:
this._detect_site = ((System.Windows.Controls.TextBox)(target));
return;
case 24:
this._slaughter_site = ((System.Windows.Controls.TextBox)(target));
return;
case 25:
this.btnSave = ((System.Windows.Controls.Button)(target));
#line 123 "..\..\..\Manager\UcQuarantineRecord.xaml"
this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
#line default
#line hidden
return;
case 26:
this.btnCancel = ((System.Windows.Controls.Button)(target));
#line 124 "..\..\..\Manager\UcQuarantineRecord.xaml"
this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.Clear_Click);
#line default
#line hidden
return;
}
this._contentLoaded = true;
}
示例7: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.Intro = ((WpfFront.Views.InventoryCountView)(target));
return;
case 2:
this.txtTitle = ((System.Windows.Controls.TextBlock)(target));
return;
case 3:
this.stpDocList2 = ((System.Windows.Controls.StackPanel)(target));
return;
case 4:
this.txtSearch = ((System.Windows.Controls.TextBox)(target));
#line 64 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);
#line default
#line hidden
return;
case 5:
this.btnNew = ((System.Windows.Controls.Button)(target));
#line 68 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
this.btnNew.Click += new System.Windows.RoutedEventHandler(this.btnNew_Click);
#line default
#line hidden
return;
case 6:
#line 71 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);
#line default
#line hidden
return;
case 7:
this.dgDocument = ((Xceed.Wpf.DataGrid.DataGridControl)(target));
#line 81 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
this.dgDocument.GotFocus += new System.Windows.RoutedEventHandler(this.dgDocument_GotFocus);
#line default
#line hidden
return;
case 8:
this.ctnColsMenu1 = ((System.Windows.Controls.ContextMenu)(target));
return;
case 9:
this.tabMenu = ((System.Windows.Controls.TabControl)(target));
#line 137 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
this.tabMenu.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabMenu_SelectionChanged);
#line default
#line hidden
return;
case 10:
this.stkTask = ((System.Windows.Controls.StackPanel)(target));
return;
case 11:
this.txtSchDate = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 12:
this.btnChangeStatus = ((System.Windows.Controls.Button)(target));
#line 171 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
this.btnChangeStatus.Click += new System.Windows.RoutedEventHandler(this.btnChangeStatus_Click);
#line default
#line hidden
return;
case 13:
#line 175 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_1);
#line default
#line hidden
return;
case 14:
this.btnCancel = ((System.Windows.Controls.Button)(target));
#line 184 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
#line default
#line hidden
return;
case 15:
this.btnTktList = ((System.Windows.Controls.Button)(target));
#line 189 "..\..\..\..\Trace\Views\InventoryCountView.xaml"
this.btnTktList.Click += new System.Windows.RoutedEventHandler(this.btnTktList_Click);
#line default
#line hidden
return;
//.........这里部分代码省略.........
示例8: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.grd1 = ((System.Windows.Controls.Grid)(target));
return;
case 2:
this.canvas1 = ((System.Windows.Controls.Canvas)(target));
return;
case 3:
this.rectangle2 = ((System.Windows.Shapes.Rectangle)(target));
return;
case 4:
this.label1 = ((System.Windows.Controls.Label)(target));
return;
case 5:
this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
return;
case 6:
this.DTPIEGraphTo = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 7:
this.button1 = ((System.Windows.Controls.Button)(target));
#line 16 "..\..\WaterFallChart.xaml"
this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
#line default
#line hidden
return;
case 8:
this.DTPIEGraphFrom = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 9:
this.label2 = ((System.Windows.Controls.Label)(target));
return;
case 10:
this.label3 = ((System.Windows.Controls.Label)(target));
return;
case 11:
this.CboProduct = ((System.Windows.Controls.ComboBox)(target));
return;
case 12:
this.label4 = ((System.Windows.Controls.Label)(target));
return;
}
this._contentLoaded = true;
}
示例9: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
#line 4 "..\..\..\CreateUser.xaml"
((AdventureWorksOrdersViewer.CreateUser)(target)).Closed += new System.EventHandler(this.closeIt);
#line default
#line hidden
#line 4 "..\..\..\CreateUser.xaml"
((AdventureWorksOrdersViewer.CreateUser)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.closeIt);
#line default
#line hidden
return;
case 2:
this.title1 = ((System.Windows.Controls.DataVisualization.Title)(target));
return;
case 3:
this.txtName = ((System.Windows.Controls.TextBox)(target));
return;
case 4:
this.lblName = ((System.Windows.Controls.Label)(target));
return;
case 5:
this.txtEmail = ((System.Windows.Controls.TextBox)(target));
return;
case 6:
this.lblEmail = ((System.Windows.Controls.Label)(target));
return;
case 7:
this.txtPass = ((System.Windows.Controls.PasswordBox)(target));
return;
case 8:
this.label1 = ((System.Windows.Controls.Label)(target));
return;
case 9:
this.txtUser = ((System.Windows.Controls.TextBox)(target));
return;
case 10:
this.lblUser = ((System.Windows.Controls.Label)(target));
return;
case 11:
this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
return;
case 12:
this.datePicker1 = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 13:
this.lblGender = ((System.Windows.Controls.Label)(target));
return;
case 14:
this.lblBirthday = ((System.Windows.Controls.Label)(target));
return;
case 15:
this.btnCreate = ((System.Windows.Controls.Button)(target));
return;
}
this._contentLoaded = true;
}
示例10: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
#line 4 "..\..\..\..\SubB\NewUser.xaml"
((GUI.NewUser)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
#line default
#line hidden
return;
case 2:
this.btnRegister = ((System.Windows.Controls.Button)(target));
#line 12 "..\..\..\..\SubB\NewUser.xaml"
this.btnRegister.Click += new System.Windows.RoutedEventHandler(this.btnRegister_Click);
#line default
#line hidden
return;
case 3:
this.PD = ((System.Windows.Controls.GroupBox)(target));
return;
case 4:
this.gd1 = ((System.Windows.Controls.Grid)(target));
return;
case 5:
this.label2 = ((System.Windows.Controls.Label)(target));
return;
case 6:
this.label3 = ((System.Windows.Controls.Label)(target));
return;
case 7:
this.label5 = ((System.Windows.Controls.Label)(target));
return;
case 8:
this.cmbxTitle = ((System.Windows.Controls.ComboBox)(target));
#line 29 "..\..\..\..\SubB\NewUser.xaml"
this.cmbxTitle.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Title_SelectionChanged);
#line default
#line hidden
return;
case 9:
this.label8 = ((System.Windows.Controls.Label)(target));
return;
case 10:
this.label18 = ((System.Windows.Controls.Label)(target));
return;
case 11:
this.dpDoB = ((Microsoft.Windows.Controls.DatePicker)(target));
#line 39 "..\..\..\..\SubB\NewUser.xaml"
this.dpDoB.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.dp_SelectedDateChanged);
#line default
#line hidden
return;
case 12:
this.txtName = ((System.Windows.Controls.TextBox)(target));
#line 40 "..\..\..\..\SubB\NewUser.xaml"
this.txtName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtName_TextChanged);
#line default
#line hidden
return;
case 13:
this.txtSname = ((System.Windows.Controls.TextBox)(target));
#line 49 "..\..\..\..\SubB\NewUser.xaml"
this.txtSname.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSname_TextChanged);
#line default
#line hidden
return;
case 14:
this.lbGen = ((System.Windows.Controls.Label)(target));
return;
case 15:
this.grid3 = ((System.Windows.Controls.Grid)(target));
return;
case 16:
this.rbGenM = ((System.Windows.Controls.RadioButton)(target));
return;
case 17:
this.rbGenF = ((System.Windows.Controls.RadioButton)(target));
return;
case 18:
this.CD = ((System.Windows.Controls.GroupBox)(target));
return;
case 19:
this.gd2 = ((System.Windows.Controls.Grid)(target));
return;
case 20:
this.label7 = ((System.Windows.Controls.Label)(target));
return;
case 21:
this.label9 = ((System.Windows.Controls.Label)(target));
//.........这里部分代码省略.........
示例11: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.dtpStartDate = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 2:
this.dtpEndDate = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 3:
this._card_no = ((System.Windows.Controls.TextBox)(target));
return;
case 4:
this._source_company = ((System.Windows.Controls.TextBox)(target));
return;
case 5:
this._source_name = ((System.Windows.Controls.TextBox)(target));
return;
case 6:
this._query = ((System.Windows.Controls.Button)(target));
#line 89 "..\..\..\Manager\UcCreateCertificateProductQuery.xaml"
this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);
#line default
#line hidden
return;
case 7:
this._export = ((System.Windows.Controls.Button)(target));
#line 90 "..\..\..\Manager\UcCreateCertificateProductQuery.xaml"
this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);
#line default
#line hidden
return;
case 8:
this._hj = ((System.Windows.Controls.TextBlock)(target));
return;
case 9:
this._title = ((System.Windows.Controls.TextBlock)(target));
return;
case 10:
this._sj = ((System.Windows.Controls.TextBlock)(target));
return;
case 11:
this.grid_info = ((System.Windows.Controls.Grid)(target));
return;
case 12:
this.lvlist = ((System.Windows.Controls.ListView)(target));
return;
}
this._contentLoaded = true;
}
示例12: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.TBLine = ((System.Windows.Controls.TabControl)(target));
return;
case 2:
this.DeviceIdGrid = ((System.Windows.Controls.Grid)(target));
return;
case 3:
this.cmbProductionLineSelector = ((System.Windows.Controls.ComboBox)(target));
#line 27 "..\..\Window1.xaml"
this.cmbProductionLineSelector.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbProductionLineSelector_SelectionChanged);
#line default
#line hidden
return;
case 4:
this.ShiftGrid = ((System.Windows.Controls.Grid)(target));
return;
case 5:
this.cmbShiftSelector = ((System.Windows.Controls.ComboBox)(target));
#line 39 "..\..\Window1.xaml"
this.cmbShiftSelector.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbShiftSelector_SelectionChanged);
#line default
#line hidden
return;
case 6:
this.shiftConfigTable = ((Microsoft.Windows.Controls.DataGrid)(target));
return;
case 7:
this.btnSet = ((System.Windows.Controls.Button)(target));
#line 79 "..\..\Window1.xaml"
this.btnSet.Click += new System.Windows.RoutedEventHandler(this.btnSet_Click);
#line default
#line hidden
return;
case 8:
this.LineMonitor = ((System.Windows.Controls.TabItem)(target));
return;
case 9:
this.LineStatsGrid = ((Microsoft.Windows.Controls.DataGrid)(target));
return;
case 10:
this.cIssueMarquee = ((System.Windows.Controls.Canvas)(target));
return;
case 11:
this.tbIssueMarquee = ((System.Windows.Controls.TextBox)(target));
return;
case 12:
this.cMarquee = ((System.Windows.Controls.Canvas)(target));
return;
case 13:
this.tbMarquee = ((System.Windows.Controls.TextBox)(target));
return;
case 14:
this.tabReports = ((System.Windows.Controls.TabItem)(target));
return;
case 15:
this.dpFrom = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 16:
this.dpTo = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 17:
this.btnGenerate = ((System.Windows.Controls.Button)(target));
#line 207 "..\..\Window1.xaml"
this.btnGenerate.Click += new System.Windows.RoutedEventHandler(this.btnGenerate_Click);
#line default
#line hidden
return;
case 18:
this.btnExport = ((System.Windows.Controls.Button)(target));
#line 208 "..\..\Window1.xaml"
this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click);
#line default
#line hidden
return;
case 19:
this.cmbViewTypeSelector = ((System.Windows.Controls.ComboBox)(target));
return;
case 20:
this.dgReportGrid = ((Microsoft.Windows.Controls.DataGrid)(target));
return;
}
this._contentLoaded = true;
}
示例13: switch
//.........这里部分代码省略.........
#line default
#line hidden
#line 67 "..\..\..\Manager\UcInnocentTreatmentRecord.xaml"
this._no_tb.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Object_Count_PreviewKeyDown);
#line default
#line hidden
#line 67 "..\..\..\Manager\UcInnocentTreatmentRecord.xaml"
this._no_tb.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Object_Count_PreviewTextInput);
#line default
#line hidden
return;
case 8:
this._object_type_tb = ((System.Windows.Controls.TextBox)(target));
return;
case 9:
this._function_tb = ((System.Windows.Controls.ComboBox)(target));
return;
case 10:
this._san_zl = ((System.Windows.Controls.TextBox)(target));
#line 72 "..\..\..\Manager\UcInnocentTreatmentRecord.xaml"
this._san_zl.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.San_Zl_Pasting));
#line default
#line hidden
#line 72 "..\..\..\Manager\UcInnocentTreatmentRecord.xaml"
this._san_zl.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.San_Zl_PreviewKeyDown);
#line default
#line hidden
#line 72 "..\..\..\Manager\UcInnocentTreatmentRecord.xaml"
this._san_zl.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.San_Zl_PreviewTextInput);
#line default
#line hidden
return;
case 11:
this._object_type_san = ((System.Windows.Controls.TextBox)(target));
return;
case 12:
this._san = ((System.Windows.Controls.CheckBox)(target));
#line 74 "..\..\..\Manager\UcInnocentTreatmentRecord.xaml"
this._san.Checked += new System.Windows.RoutedEventHandler(this.san_checked);
#line default
#line hidden
#line 74 "..\..\..\Manager\UcInnocentTreatmentRecord.xaml"
this._san.Unchecked += new System.Windows.RoutedEventHandler(this.san_unchecked);
#line default
#line hidden
return;
case 13:
this._bz = ((System.Windows.Controls.TextBox)(target));
return;
case 14:
this._user_name = ((System.Windows.Controls.TextBox)(target));
return;
case 15:
this._help_user = ((System.Windows.Controls.ComboBox)(target));
return;
case 16:
this._entering_datetime = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 17:
this._detect_site = ((System.Windows.Controls.TextBox)(target));
return;
case 18:
this._slaughter_site = ((System.Windows.Controls.TextBox)(target));
return;
case 19:
this.btnSave = ((System.Windows.Controls.Button)(target));
#line 105 "..\..\..\Manager\UcInnocentTreatmentRecord.xaml"
this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
#line default
#line hidden
return;
case 20:
this.btnCancel = ((System.Windows.Controls.Button)(target));
#line 106 "..\..\..\Manager\UcInnocentTreatmentRecord.xaml"
this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.Clear_Click);
#line default
#line hidden
return;
}
this._contentLoaded = true;
}
示例14: switch
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.ValidadorSeriales = ((WpfFront.Views.ValidadorSerialesView)(target));
return;
case 2:
this.Border_1 = ((System.Windows.Controls.Border)(target));
return;
case 3:
this.Stack_Panel_Filter = ((System.Windows.Controls.StackPanel)(target));
return;
case 4:
this.Stack_Panel1 = ((System.Windows.Controls.StackPanel)(target));
return;
case 5:
this.Text_block1 = ((System.Windows.Controls.TextBlock)(target));
return;
case 6:
this.cb_LocationFrom = ((System.Windows.Controls.ComboBox)(target));
return;
case 7:
this.Stack_Panel4 = ((System.Windows.Controls.StackPanel)(target));
return;
case 8:
this.Text_block4 = ((System.Windows.Controls.TextBlock)(target));
return;
case 9:
this.txt_NoDocumento = ((System.Windows.Controls.TextBox)(target));
return;
case 10:
this.Stack_Panel2 = ((System.Windows.Controls.StackPanel)(target));
return;
case 11:
this.Text_block2 = ((System.Windows.Controls.TextBlock)(target));
return;
case 12:
this.FechaDesde = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 13:
this.Stack_Panel3 = ((System.Windows.Controls.StackPanel)(target));
return;
case 14:
this.Text_block3 = ((System.Windows.Controls.TextBlock)(target));
return;
case 15:
this.FechaHasta = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 16:
this.Stack_Panel9 = ((System.Windows.Controls.StackPanel)(target));
return;
case 17:
this.btn_BuscarSeriales = ((System.Windows.Controls.Button)(target));
#line 67 "..\..\..\..\IQ\Views\ValidadorSeriales.xaml"
this.btn_BuscarSeriales.Click += new System.Windows.RoutedEventHandler(this.btn_BuscarSeriales_Click_1);
#line default
#line hidden
return;
case 18:
this.Border_2 = ((System.Windows.Controls.Border)(target));
return;
case 19:
this.Stack_Adicionales = ((System.Windows.Controls.StackPanel)(target));
return;
case 20:
this.chkRep = ((System.Windows.Controls.CheckBox)(target));
#line 76 "..\..\..\..\IQ\Views\ValidadorSeriales.xaml"
this.chkRep.Checked += new System.Windows.RoutedEventHandler(this.chkRep_Checked);
#line default
#line hidden
return;
case 21:
this.textblock_recuento = ((System.Windows.Controls.TextBlock)(target));
return;
case 22:
this.txt_RegistrosNoCargados = ((System.Windows.Controls.TextBlock)(target));
return;
case 23:
this.lvDocumentMaster = ((System.Windows.Controls.ListView)(target));
return;
case 24:
this.GridViewDetails = ((System.Windows.Controls.GridView)(target));
return;
case 25:
this.Stack_Button = ((System.Windows.Controls.StackPanel)(target));
return;
case 26:
this.Btn_Eliminar_Seriales = ((System.Windows.Controls.Button)(target));
#line 111 "..\..\..\..\IQ\Views\ValidadorSeriales.xaml"
this.Btn_Eliminar_Seriales.Click += new System.Windows.RoutedEventHandler(this.Btn_Eliminar_Seriales_Click_1);
#line default
#line hidden
return;
}
//.........这里部分代码省略.........
示例15: switch
//.........这里部分代码省略.........
return;
case 40:
this.grid1 = ((System.Windows.Controls.Grid)(target));
return;
case 41:
this.rbActY = ((System.Windows.Controls.RadioButton)(target));
#line 150 "..\..\..\..\SubB\MaintainUser.xaml"
this.rbActY.Checked += new System.Windows.RoutedEventHandler(this.rbActY_Checked);
#line default
#line hidden
return;
case 42:
this.rbActN = ((System.Windows.Controls.RadioButton)(target));
return;
case 43:
this.grid2 = ((System.Windows.Controls.Grid)(target));
return;
case 44:
this.rbFunY = ((System.Windows.Controls.RadioButton)(target));
#line 153 "..\..\..\..\SubB\MaintainUser.xaml"
this.rbFunY.Checked += new System.Windows.RoutedEventHandler(this.rbFunY_Checked);
#line default
#line hidden
return;
case 45:
this.rbFunN = ((System.Windows.Controls.RadioButton)(target));
#line 154 "..\..\..\..\SubB\MaintainUser.xaml"
this.rbFunN.Checked += new System.Windows.RoutedEventHandler(this.rbFunN_Checked);
#line default
#line hidden
return;
case 46:
this.cmbxDep = ((System.Windows.Controls.ComboBox)(target));
return;
case 47:
this.txtSysID = ((System.Windows.Controls.TextBox)(target));
return;
case 48:
this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
return;
case 49:
this.lblROJVolume = ((System.Windows.Controls.Label)(target));
return;
case 50:
this.cmbxTitle = ((System.Windows.Controls.ComboBox)(target));
return;
case 51:
this.lblROJNumber = ((System.Windows.Controls.Label)(target));
return;
case 52:
this.lblROJOrganisation = ((System.Windows.Controls.Label)(target));
return;
case 53:
this.lblROAPublishDate = ((System.Windows.Controls.Label)(target));
return;
case 54:
this.txtName = ((System.Windows.Controls.TextBox)(target));
return;
case 55:
this.grid3 = ((System.Windows.Controls.Grid)(target));
return;
case 56:
this.rbGenM = ((System.Windows.Controls.RadioButton)(target));
return;
case 57:
this.rbGenF = ((System.Windows.Controls.RadioButton)(target));
return;
case 58:
this.label1 = ((System.Windows.Controls.Label)(target));
return;
case 59:
this.dpDoB = ((Microsoft.Windows.Controls.DatePicker)(target));
return;
case 60:
this.txtSname = ((System.Windows.Controls.TextBox)(target));
return;
case 61:
this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
return;
case 62:
this.label7 = ((System.Windows.Controls.Label)(target));
return;
case 63:
this.label6 = ((System.Windows.Controls.Label)(target));
return;
case 64:
this.txtCNo = ((System.Windows.Controls.TextBox)(target));
return;
case 65:
this.txtEmail = ((System.Windows.Controls.TextBox)(target));
return;
}
this._contentLoaded = true;
}