Example #1
0
        public void RefreshGiroInternalOnDetail(Guid RowID)
        {
            DataTable dtRefresh = new DataTable();

            using (Database db = new Database(GlobalVar.DBName))
            {
                db.Commands.Add(db.CreateCommand("usp_GiroInternal_LIST_ByRowID"));
                db.Commands[0].Parameters.Add(new Parameter("@RowIDGiroIn", SqlDbType.UniqueIdentifier, RowID));
                dtRefresh = db.Commands[0].ExecuteDataTable();
            }
            gridGiroIn.RefreshDataRow(dtRefresh.Rows[0], "RowIDGiroIn", RowID.ToString());

            frmBukaGiro frm = new frmBukaGiro();

            frm = (frmBukaGiro)this.Caller;
            frm.RefreshBBK(_rowIDBBK);
            frm.RefreshGiroInternal(RowID);
            frm.FindRowGiroIn("RowIDGiroIn", RowID.ToString());
        }
Example #2
0
 private void frmBukaGiroDetailUpdate_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (_rowIDGiroIn != Guid.Empty)
     {
         if (_isFromBrowse == true)
         {
             frmBukaGiro frm = new frmBukaGiro();
             frm = (frmBukaGiro)this.Caller;
             frm.RefreshBBK(_rowIDBBK);
             frm.RefreshGiroInternal(_rowIDGiroIn);
             frm.FindRowGiroIn("RowIDGiroIn", _rowIDGiroIn.ToString());
         }
         else if (_isFromBrowse == false)
         {
             frmBuktiBankKeluar frm = new frmBuktiBankKeluar();
             frm = (frmBuktiBankKeluar)this.Caller;
             frm.RefreshGiroInternalOnDetail(_rowIDGiroIn);
             frm.FindRowGiroInternalOnDetail("RowIDGiroIn", _rowIDGiroIn.ToString());
         }
     }
 }