Exemple #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/BookMemory;component/DetailPage.xaml", System.UriKind.Relative));
     this.LayoutRoot                = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Panorama                  = ((Microsoft.Phone.Controls.Panorama)(this.FindName("Panorama")));
     this.Image_BookImage           = ((System.Windows.Controls.Image)(this.FindName("Image_BookImage")));
     this.transform                 = ((System.Windows.Media.CompositeTransform)(this.FindName("transform")));
     this.TextBox_Title             = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Title")));
     this.TextBox_EAN               = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_EAN")));
     this.TextBox_Authors           = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Authors")));
     this.TextBox_Publisher         = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Publisher")));
     this.DatePicker_Publish        = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("DatePicker_Publish")));
     this.TextBox_Price             = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Price")));
     this.TextBox_Currency          = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Currency")));
     this.TextBox_Language          = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Language")));
     this.TextBox_Type              = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Type")));
     this.Grid_Notice               = ((System.Windows.Controls.Grid)(this.FindName("Grid_Notice")));
     this.TextBlock_Notice          = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_Notice")));
     this.ListPicker_Status         = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("ListPicker_Status")));
     this.Rating_Rate               = ((Microsoft.Phone.Controls.Rating)(this.FindName("Rating_Rate")));
     this.DatePicker_Purchase       = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("DatePicker_Purchase")));
     this.DatePicker_StartRead      = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("DatePicker_StartRead")));
     this.DatePicker_FinishRead     = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("DatePicker_FinishRead")));
     this.TextBlock_CreateDate      = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_CreateDate")));
     this.TextBlock_CreateDayOfWeek = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_CreateDayOfWeek")));
     this.ScrollViewer_Note         = ((System.Windows.Controls.ScrollViewer)(this.FindName("ScrollViewer_Note")));
     this.TextBox_Note              = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Note")));
     this.SaveButton                = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("SaveButton")));
     this.DownloadButton            = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("DownloadButton")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneToolkitSample;component/Samples/RatingControlSample.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.RatingControl = ((Microsoft.Phone.Controls.Rating)(this.FindName("RatingControl")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GiveMeSomething;component/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.RatingControl = ((Microsoft.Phone.Controls.Rating)(this.FindName("RatingControl")));
     this.ListOfCounts = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("ListOfCounts")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/FstnUserControl;component/Market/Apps/AppsPreview.xaml", System.UriKind.Relative));
     this.RootLayout = ((System.Windows.Controls.Canvas)(this.FindName("RootLayout")));
     this.ContentLayout = ((System.Windows.Controls.StackPanel)(this.FindName("ContentLayout")));
     this.Title = ((System.Windows.Controls.TextBlock)(this.FindName("Title")));
     this.Image = ((System.Windows.Controls.Image)(this.FindName("Image")));
     this.RatingControl = ((Microsoft.Phone.Controls.Rating)(this.FindName("RatingControl")));
     this.Description = ((System.Windows.Controls.TextBlock)(this.FindName("Description")));
     this.WaitingAnim = ((FstnUserControl.ImageWaiting)(this.FindName("WaitingAnim")));
 }