コード例 #1
0
        private void addAccount()
        {
            AddAccounts addAccounts = new AddAccounts();

            addAccounts.ShowDialog();
            refreshAccountGrid();
        }
コード例 #2
0
        private void displayAccount()
        {
            AddAccounts addAccounts = new AddAccounts();

            addAccounts.lbl_AccountID.Text = dg_AccountDB.CurrentRow.Cells[2].Value.ToString();
            addAccounts.txt_Account.Text   = dg_AccountDB.CurrentRow.Cells[1].Value.ToString();
            addAccounts.ShowDialog();
            refreshAccountGrid();
        }