当前位置: 首页>>代码示例>>C#>>正文


C# Controls.DatePicker类代码示例

本文整理汇总了C#中Microsoft.Phone.Controls.DatePicker的典型用法代码示例。如果您正苦于以下问题:C# DatePicker类的具体用法?C# DatePicker怎么用?C# DatePicker使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


DatePicker类属于Microsoft.Phone.Controls命名空间,在下文中一共展示了DatePicker类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TCCWP;component/Telas/UCSelecaoVencimento.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.dpData = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dpData")));
     this.tbValor = ((System.Windows.Controls.TextBox)(this.FindName("tbValor")));
 }
开发者ID:rafaelkds,项目名称:TCCWP,代码行数:10,代码来源:UCSelecaoVencimento.g.cs

示例2: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/BusinessPartner;component/Pages/Reports/SalesSummaryPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.m_oStartDatePicker = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("m_oStartDatePicker")));
     this.m_oEndDatePicker = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("m_oEndDatePicker")));
 }
开发者ID:furykid,项目名称:BusinessPartner,代码行数:10,代码来源:SalesSummaryPage.g.i.cs

示例3: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Financas;component/Pages/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.flexgridReceita = ((C1.Phone.FlexGrid.C1FlexGrid)(this.FindName("flexgridReceita")));
     this.flexgrid = ((C1.Phone.FlexGrid.C1FlexGrid)(this.FindName("flexgrid")));
     this.TestDP = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("TestDP")));
 }
开发者ID:programadriano,项目名称:finance,代码行数:11,代码来源:MainPage.g.i.cs

示例4: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Financas;component/Pages/Historico.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.xData = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("xData")));
 }
开发者ID:programadriano,项目名称:finance,代码行数:11,代码来源:Historico.g.cs

示例5: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Safepal;component/reportform.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.tglSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tglSwitch")));
     this.YobDate = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("YobDate")));
 }
开发者ID:slybard,项目名称:safepal,代码行数:11,代码来源:reportform.g.i.cs

示例6: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/BantuAnakAsuh;component/Views/PageRekomendasi.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.buttonMenu = ((System.Windows.Controls.Image)(this.FindName("buttonMenu")));
     this.TglLahirPick = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("TglLahirPick")));
     this.listGender = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("listGender")));
     this.apbarKonfirmasi = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("apbarKonfirmasi")));
 }
开发者ID:Handika-GEMkey,项目名称:SolidareNew,代码行数:12,代码来源:PageRekomendasi.g.cs

示例7: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Appa;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Mobile_No = ((System.Windows.Controls.TextBox)(this.FindName("Mobile_No")));
     this.Name = ((System.Windows.Controls.TextBox)(this.FindName("Name")));
     this.list = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("list")));
     this.Date_Picker = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("Date_Picker")));
 }
开发者ID:prabaprakash,项目名称:Visual-Studio-2013,代码行数:12,代码来源:MainPage.g.cs

示例8: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PlanMyWay.Lib.Test;component/PivotPage1.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.signInButton = ((Microsoft.Live.Controls.SignInButton)(this.FindName("signInButton")));
     this.dateFrom = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dateFrom")));
     this.dateTo = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dateTo")));
     this.progressBar = ((System.Windows.Controls.ProgressBar)(this.FindName("progressBar")));
     this.lst_dateAndpositions = ((System.Windows.Controls.ListBox)(this.FindName("lst_dateAndpositions")));
 }
开发者ID:BenJoyenConseil,项目名称:planmyway,代码行数:13,代码来源:PivotPage1.g.cs

示例9: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MyLocalPharmacy;component/View/PillReminder.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.dpkDate = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dpkDate")));
     this.tpkTime = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("tpkTime")));
     this.btnSave = ((System.Windows.Controls.Button)(this.FindName("btnSave")));
 }
开发者ID:EdytaSzkiladz,项目名称:MyLocalPharmacy,代码行数:13,代码来源:PillReminder.g.cs

示例10: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GetItDone;component/addtask.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.AddButton = ((System.Windows.Controls.Button)(this.FindName("AddButton")));
     this.Difficulty = ((System.Windows.Controls.Slider)(this.FindName("Difficulty")));
     this.Importance = ((System.Windows.Controls.Slider)(this.FindName("Importance")));
     this.DateSelector = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("DateSelector")));
     this.TaskNameBox = ((System.Windows.Controls.TextBox)(this.FindName("TaskNameBox")));
 }
开发者ID:MShwed,项目名称:GetItDone,代码行数:13,代码来源:addtask.g.cs

示例11: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Calendario%20Estudiantil;component/Alarma.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.Date_Picker = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("Date_Picker")));
     this.Time_Picker = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("Time_Picker")));
     this.btnStarAlarma = ((System.Windows.Controls.Button)(this.FindName("btnStarAlarma")));
     this.recordatorio = ((System.Windows.Controls.TextBox)(this.FindName("recordatorio")));
 }
开发者ID:Dema1348,项目名称:CalendarioEstudiantil,代码行数:13,代码来源:Alarma.g.cs

示例12: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Project;component/Views/AddTrip.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.title = ((System.Windows.Controls.TextBlock)(this.FindName("title")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.tripImg = ((System.Windows.Controls.Image)(this.FindName("tripImg")));
     this.destination = ((System.Windows.Controls.TextBox)(this.FindName("destination")));
     this.myDate = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("myDate")));
 }
开发者ID:Nawsen,项目名称:WindowsPhonePackingApp,代码行数:13,代码来源:AddTrip.g.i.cs

示例13: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Todo;component/Views/Task/PivotItemTaskReminderView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.dateReminder = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dateReminder")));
     this.timeReminder = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("timeReminder")));
     this.textDescription = ((System.Windows.Controls.TextBox)(this.FindName("textDescription")));
     this.buttonUpdateAdd = ((System.Windows.Controls.Button)(this.FindName("buttonUpdateAdd")));
     this.buttonRemove = ((System.Windows.Controls.Button)(this.FindName("buttonRemove")));
 }
开发者ID:xdvarpunen,项目名称:LocalDBInWP,代码行数:13,代码来源:PivotItemTaskReminderView.g.i.cs

示例14: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TodoApp;component/TodoModify.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.todo = ((System.Windows.Controls.Grid)(this.FindName("todo")));
     this.tbtitle = ((System.Windows.Controls.TextBox)(this.FindName("tbtitle")));
     this.tbcontent = ((System.Windows.Controls.TextBox)(this.FindName("tbcontent")));
     this.dpicker = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dpicker")));
     this.tpicker = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("tpicker")));
     this.lpicker = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("lpicker")));
 }
开发者ID:rhallop,项目名称:apptodo,代码行数:14,代码来源:TodoModify.g.i.cs

示例15: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PlanMyWay;component/Page/SelectDateRoadTrip.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.Dp_DateDebut = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("Dp_DateDebut")));
     this.btn_Ok = ((System.Windows.Controls.Button)(this.FindName("btn_Ok")));
 }
开发者ID:BenJoyenConseil,项目名称:planmyway,代码行数:14,代码来源:SelectDateRoadTrip.g.cs


注:本文中的Microsoft.Phone.Controls.DatePicker类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。