private void displaySpecificForm()
        {
            int selectedrowindex = dataAccountGridView.SelectedCells[0].RowIndex;

            DataGridViewRow selectedRow = dataAccountGridView.Rows[selectedrowindex];

            selectedAccountID = Convert.ToInt32(selectedRow.Cells["KODE AKUN"].Value);

            switch (originModuleID)
            {
            case globalConstants.TAMBAH_HAPUS_JURNAL_HARIAN:
                parentForm.addSelectedAccountID(selectedAccountID);
                this.Close();
                break;

            default:
                if (null == editNoAkunForm || editNoAkunForm.IsDisposed)
                {
                    editNoAkunForm = new dataNomorAkunDetailForm(globalConstants.EDIT_AKUN, selectedAccountID);
                }

                editNoAkunForm.Show();
                editNoAkunForm.WindowState = FormWindowState.Normal;
                break;
            }
        }
        private void newButton_Click(object sender, EventArgs e)
        {
            if (null == newNoAkunForm || newNoAkunForm.IsDisposed)
            {
                newNoAkunForm = new dataNomorAkunDetailForm(globalConstants.NEW_AKUN, 0);
            }

            newNoAkunForm.Show();
            newNoAkunForm.WindowState = FormWindowState.Normal;
        }
        private void displaySpecificForm()
        {
            int selectedrowindex = dataAccountGridView.SelectedCells[0].RowIndex;

            DataGridViewRow selectedRow = dataAccountGridView.Rows[selectedrowindex];

            selectedAccountID = Convert.ToInt32(selectedRow.Cells["KODE AKUN"].Value);

            switch (originModuleID)
            {
            case globalConstants.TAMBAH_HAPUS_JURNAL_HARIAN:
                parentForm.addSelectedAccountID(selectedAccountID);
                this.Close();
                break;

            default:
                dataNomorAkunDetailForm displayedForm = new dataNomorAkunDetailForm(globalConstants.EDIT_AKUN, selectedAccountID);
                displayedForm.ShowDialog(this);
                break;
            }
        }
        private void newButton_Click(object sender, EventArgs e)
        {
            dataNomorAkunDetailForm displayedForm = new dataNomorAkunDetailForm(globalConstants.NEW_AKUN, 0);

            displayedForm.ShowDialog(this);
        }