Пример #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();
 }
Пример #2
0
		void AddAccount_Click(object sender, EventArgs e)
		{
			_currentAccountData = new AddAccount();
			ShowAddEditAccountDialog();
		}
Пример #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();
		}
Пример #4
0
 void AddAccount_Click(object sender, EventArgs e)
 {
     _currentAccountData = new AddAccount();
     ShowAddEditAccountDialog();
 }