Beispiel #1
0
 private void EditAccount(Account account)
 {
     _currentAccountData               = new AddAccount();
     _currentAccountData.Name.Text     = account.Name;
     _currentAccountData.Login.Text    = account.Login;
     _currentAccountData.Password.Text = account.Password;
     _currentAccountData.IsEdit        = true;
     ShowAddEditAccountDialog();
 }
Beispiel #2
0
		void AddAccount_Click(object sender, EventArgs e)
		{
			_currentAccountData = new AddAccount();
			ShowAddEditAccountDialog();
		}
Beispiel #3
0
		private void EditAccount(Account account)
		{
			_currentAccountData = new AddAccount();
			_currentAccountData.Name.Text = account.Name;
			_currentAccountData.Login.Text = account.Login;
			_currentAccountData.Password.Text = account.Password;
			_currentAccountData.IsEdit = true;
			ShowAddEditAccountDialog();
		}
Beispiel #4
0
 void AddAccount_Click(object sender, EventArgs e)
 {
     _currentAccountData = new AddAccount();
     ShowAddEditAccountDialog();
 }