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();
        }
示例#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();
        }
示例#3
0
 public NewAccountForm(POCO.Account account)
 {
     InitializeComponent();
     this.account = account;
 }