Ejemplo n.º 1
0
        private void newAccountToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AccountsDefinition accounts = new AccountsDefinition();

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

            acc.ShowDialog();
            adaptertbAccounts.Update(dbAccountingProjectDS.GLAccounts);
            GridRefresh();
        }
Ejemplo n.º 3
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            AccountsDefinition accountAdd = new AccountsDefinition();

            accountAdd.ShowDialog();
            GridRefresh();
            SearchForGivenAccountNumber();
        }
Ejemplo n.º 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");
     }
 }
Ejemplo n.º 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();
        }
Ejemplo n.º 6
0
        private void accountDefinitionToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            AccountsDefinition accountsdefinition = new AccountsDefinition();

            accountsdefinition.ShowDialog();
        }
Ejemplo n.º 7
0
        private void btnAccountsDefinitions_Click(object sender, EventArgs e)
        {
            AccountsDefinition accountsdefinition = new AccountsDefinition();

            accountsdefinition.ShowDialog();
        }