Example #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp3;component/News.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.areachart = ((PhoneApp3.AreaChartDemo)(this.FindName("areachart")));
 }
Example #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp3;component/News.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.statistics = ((System.Windows.Controls.Grid)(this.FindName("statistics")));
     this.areachart = ((PhoneApp3.AreaChartDemo)(this.FindName("areachart")));
     this.tags = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("tags")));
     this.share = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("share")));
     this.donate = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("donate")));
 }