private void button1_Click(object sender, EventArgs e)
        {
            //new account
            POCO.Account account = new POCO.Account();
            account.ClientID = clientId;

            Form accountForm = new NewAccountForm(account);
            accountForm.ShowDialog();

            business.Save(account);
            reload();
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            //new account
            POCO.Account account = new POCO.Account();
            account.ClientID = clientId;

            Form accountForm = new NewAccountForm(account);

            accountForm.ShowDialog();

            business.Save(account);
            reload();
        }
Ejemplo n.º 3
0
 public NewAccountForm(POCO.Account account)
 {
     InitializeComponent();
     this.account = account;
 }