Exemplo n.º 1
0
 void _LoadFromDatabaseWorker_FinishtWorkEvent()
 {
     if (this.InvokeRequired)
     {
         _LoadFromDAtaBaseWorker_FinishtWorkEventCallBack oDelegate =
             new _LoadFromDAtaBaseWorker_FinishtWorkEventCallBack(this._LoadFromDatabaseWorker_FinishtWorkEvent);
         this.Invoke(oDelegate);
     }
     else
     {
         WaitViewHide();
     }
 }
Exemplo n.º 2
0
        void _LoadFromDatabaseWorker_FinishtWorkEvent()
        {
            if (this.InvokeRequired)
            {
                _LoadFromDAtaBaseWorker_FinishtWorkEventCallBack oDelegate =
                    new _LoadFromDAtaBaseWorker_FinishtWorkEventCallBack(this._LoadFromDatabaseWorker_FinishtWorkEvent);
                this.Invoke(oDelegate);
            }
            else
            {
                WaitViewHide();
            }

        }