當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。