예제 #1
0
        private void newAccountToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AccountsDefinition accounts = new AccountsDefinition();

            accounts.Owner = this;
            accounts.ShowDialog();
        }
예제 #2
0
        private void btn_AddAccount_Click(object sender, EventArgs e)
        {
            AccountsDefinition acc = new AccountsDefinition();

            acc.ShowDialog();
            adaptertbAccounts.Update(dbAccountingProjectDS.GLAccounts);
            GridRefresh();
        }
예제 #3
0
파일: SearchHeader.cs 프로젝트: ABTecheg/GL
        private void btn_Add_Click(object sender, EventArgs e)
        {
            AccountsDefinition accountAdd = new AccountsDefinition();

            accountAdd.ShowDialog();
            GridRefresh();
            SearchForGivenAccountNumber();
        }
예제 #4
0
 private void btn_Add_Click(object sender, EventArgs e)
 {
     try
     {
         AccountsDefinition accountAdd = new AccountsDefinition();
         accountAdd.ShowDialog();
         GridRefresh();
         SearchForGivenAccountNumber();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "General Ledger");
     }
 }
예제 #5
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            if (btnedit.Visible == false)
            {
                DialogResult myrst;
                myrst = MessageBox.Show("Are You Sure Exit Without Save", "General Ledger", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2);
                if (myrst == DialogResult.No)
                {
                    return;
                }
                else
                {
                    dgv.Enabled     = false;
                    btnedit.Visible = true;
                    btnSave.Visible = false;
                }
            }

            AccountsDefinition accountAdd = new AccountsDefinition();

            accountAdd.ShowDialog();
            GridRefresh();
            SearchForGivenAccountNumber();
        }
예제 #6
0
파일: GLInterface.cs 프로젝트: ABTecheg/GL
        private void accountDefinitionToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            AccountsDefinition accountsdefinition = new AccountsDefinition();

            accountsdefinition.ShowDialog();
        }
예제 #7
0
        private void btnAccountsDefinitions_Click(object sender, EventArgs e)
        {
            AccountsDefinition accountsdefinition = new AccountsDefinition();

            accountsdefinition.ShowDialog();
        }