Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ADVPlatform.LoginPage"/> class.
 /// </summary>
 public LoginPage(Enums.FromPage fromPage)
 {
     InitializeComponent();
     this.fromPage = fromPage;
     setDefaultValues();
     BindingContext = this;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ADVPlatform.UserProfilePage"/> class.
 /// </summary>
 public UserProfilePage(User user, Enums.FromPage fromPage)
 {
     InitializeComponent();
     IsLoading = true;
     this.user = user;
     setDefaultValues();
     if (this.user != null && fromPage == Enums.FromPage.LoginPage)
     {
         BindUserDetail();
     }
     BindingContext = this;
     IsLoading      = false;
 }