Beispiel #1
0
 public CalendarViews()
 {
     if ((UIDevice.CurrentDevice).UserInterfaceIdiom == UIUserInterfaceIdiom.Pad)
     {
         this.AddSubview(new CalendarViews_Tablet());
     }
     else
     {
         phoneView = new CalendarViews_Mobile();
         this.AddSubview(phoneView);
         this.OptionView = phoneView.option;
     }
 }
 public CalendarViews()
 {
     phoneView = new CalendarViews_Mobile();
     this.AddSubview(phoneView);
     this.OptionView = phoneView.option;
 }