public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ATT.WP8.SampleApp;component/MmsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MmsButton = ((ATT.WP8.Controls.MmsButton)(this.FindName("MmsButton")));
 }
示例#2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ATT.WP8.SampleApp;component/MmsCouponPage.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MmsCouponButton = ((ATT.WP8.Controls.MmsButton)(this.FindName("MmsCouponButton")));
 }