Ejemplo n.º 1
0
        private void RunOnceOnParentActivationManual()
        {
            ParentForm.Cursor                  = Cursors.WaitCursor;
            grdDetails.DoubleClickCell        += new TDoubleClickCellEventHandler(this.ShowTransactionTab);
            grdDetails.DataSource.ListChanged += new System.ComponentModel.ListChangedEventHandler(DataSource_ListChanged);

            FLoadAndFilterLogicObject.ActivateFilter();
            LoadBatchesForCurrentYear();
            ParentForm.Cursor = Cursors.Default;

            SetInitialFocus();
        }
Ejemplo n.º 2
0
        private void RunOnceOnParentActivationManual()
        {
            ParentForm.Cursor                  = Cursors.WaitCursor;
            grdDetails.DoubleClickCell        += new TDoubleClickCellEventHandler(this.ShowTransactionTab);
            grdDetails.DataSource.ListChanged += new System.ComponentModel.ListChangedEventHandler(DataSource_ListChanged);

            // Load the ledger table so we know the base currency
            FMainDS.Merge(TRemote.MFinance.Gift.WebConnectors.LoadALedgerTable(FLedgerNumber));
            FLedgerBaseCurrency = FMainDS.ALedger[0].BaseCurrency;

            FLoadAndFilterLogicObject.ActivateFilter();
            LoadBatchesForCurrentYear();
            ParentForm.Cursor = Cursors.Default;

            SetInitialFocus();
        }