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();
        }