public MainPage()
        {
            this.InitializeComponent();
//            TextUsername.Text = "Username";
//            TextPassword.Password = "******";
            _mCurrentAccount = new Account();
#if DEBUG
            TextUsername.Text = @"*****@*****.**";
            TextPassword.Password = "";
#endif
            LoadTextCredential();
        }
Beispiel #2
0
 public Login(Account mAccount)
 {
     _mAccount = new Account(mAccount);
 }
Beispiel #3
0
 public Login()
 {
     _mAccount = new Account();
 }
 private void ButtonAdd_Click(object sender, RoutedEventArgs e)
 {
     var account = new Account(TextUsername.Text,TextPassword.Password);
 }
Beispiel #5
0
 public Account(Account account)
 {
     Username = account.Username;
     Password = account.Password;
 }