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