Exemple #1
0
        private void LootWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            HideLoading();

            if (e.Error != null)
            {
                ErrorWindow.Show(e.Error);
                return;
            }

            LootAnalyzer = (UltimaLootAnalyzer)e.Result;
        }
        private void LootWorker_RunWorkerCompleted( object sender, RunWorkerCompletedEventArgs e )
        {
            HideLoading();

            if ( e.Error != null )
            {
                ErrorWindow.Show( e.Error );
                return;
            }

            LootAnalyzer = (UltimaLootAnalyzer) e.Result;
        }
Exemple #3
0
        private void MobileWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            ObservableCollection <UltimaPacket> packets = (ObservableCollection <UltimaPacket>)e.Argument;

            e.Result = UltimaLootAnalyzer.GetAvailableMobiles(packets);
        }