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