Пример #1
0
 private void closeForm()
 {
     if (this.Caller is frmKasbonBrowse)
     {
         frmKasbonBrowse frmCaller = (frmKasbonBrowse)this.Caller;
         frmCaller.RefreshData();
         frmCaller.FindRow("RowID", _headRowId.ToString(), 1);
         frmCaller.Vju_RefreshData();
         frmCaller.FindRow("VjuRowID", _rowID.ToString(), 2);
     }
 }
Пример #2
0
        private void closeForm()
        {
            if (this.Caller is frmKasbonBrowse)
            {
                frmKasbonBrowse frmCaller = (frmKasbonBrowse)this.Caller;
                frmCaller.RefreshData();
                switch (FormMode)
                {
                case enumFormMode.New:
                {
                    frmCaller.FindRow("No_bukti", cNoBKK.PadRight(20), 1);
                    break;
                }

                case enumFormMode.Update:
                {
                    frmCaller.FindRow("RowID", _rowID.ToString(), 1);
                    break;
                }
                }
            }
        }