private void noJurnalPembalikButtonEdit_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            Jurnal Jurnal = ((Jurnal)jurnalBindingSource.DataSource);

            if (!Jurnal.BuatJurnalPembalik)
            {
                return;
            }

            BaseWinFramework.SingleEntityForm.ShowView <frmJurnal>(
                string.Concat("NoJurnal=", Jurnal.FormatSqlValue(Jurnal.NoJurnalPembalik)));
        }
        private void noJurnalPembalikButtonEdit_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            Jurnal Jr = ((Jurnal)jurnalBindingSource.DataSource);

            if (!Jr.BuatJurnalPembalik)
            {
                return;
            }

            BaseWinFramework.SingleEntityForm.ShowView <DocJurnal>(
                string.Concat("NoJurnal=",
                              Jr.FormatSqlValue(Jr.NoJurnalPembalik)));
        }
        private void noDokSumberButtonEdit_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            Jurnal Jr = (Jurnal)jurnalBindingSource.DataSource;

            if (!Jr.Internal)
            {
                return;
            }
            if (Jr.JenisDokSumber == "Jurnal Pembalik")
            {
                BaseWinFramework.SingleEntityForm.ShowView(
                    BaseWinFramework.GetModuleName(GetType()),
                    "NoJurnal=" + Jr.FormatSqlValue(
                        Jr.NoDokSumber, DataType.VarChar));
            }
            else
            {
                BaseWinFramework.SingleEntityForm.ShowViewWithKey(
                    Jr.JenisDokSumber, Jr.NoDokSumber);
            }
        }