Ejemplo n.º 1
0
 void Downloader_OnDownloadStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         btnDownload.IsEnabled = false;
         progressInfo          = new FiasProgressInfo();
         progressInfo.Show();
     }));
 }
 void UnrarWorker_OnCheckFilesStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         ProgressInfo = new FiasProgressInfo();
         ProgressInfo.ProgressBar.IsIndeterminate = true;
         ProgressInfo.Show();
     }));
 }
 void Downloader_OnDownloadStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         btnDownload.IsEnabled = false;
         progressInfo = new FiasProgressInfo();
         progressInfo.Show();
     }));
 }
 void UnrarWorker_OnCheckFilesStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         ProgressInfo = new FiasProgressInfo();
         ProgressInfo.ProgressBar.IsIndeterminate = true;
         ProgressInfo.Show();
     }));
 }
Ejemplo n.º 5
0
 void DbCache_OnStartRebuildCache()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         progressInfo = new FiasProgressInfo {
             TextBlock = { Text = "Подготовка к кэшированию" }
         };
         progressInfo.Show();
     }));
 }
 void UnrarWorker_OnUnrarStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         btnUnrar.IsEnabled = false;
         ProgressInfo       = new FiasProgressInfo();
         ProgressInfo.ProgressBar.IsIndeterminate = false;
         ProgressInfo.Show();
     }));
 }
Ejemplo n.º 7
0
 void DBUpdateWorker_OnLoadDataStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         progressInfo = new FiasProgressInfo
         {
             TextBlock   = { Text = "Загрузка данных" },
             ProgressBar = { IsIndeterminate = true }
         };
         progressInfo.Show();
     }));
 }
Ejemplo n.º 8
0
 void DownloadWorker_OnGetFileInfoListStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         progressInfo = new FiasProgressInfo
         {
             TextBlock   = { Text = "Загрузка данных" },
             ProgressBar = { IsIndeterminate = true },
             btnCancel   = { Visibility = Visibility.Hidden }
         };
         progressInfo.Show();
     }));
 }
 void UnrarWorker_OnUnrarStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         btnUnrar.IsEnabled = false;
         ProgressInfo = new FiasProgressInfo();
         ProgressInfo.ProgressBar.IsIndeterminate = false;
         ProgressInfo.Show();
     }));
 }
 void DownloadWorker_OnGetFileInfoListStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         progressInfo = new FiasProgressInfo
         {
             TextBlock = {Text = "Загрузка данных"},
             ProgressBar = {IsIndeterminate = true},
             btnCancel = {Visibility = Visibility.Hidden}
         };
         progressInfo.Show();
     }));
 }
 void DBUpdateWorker_OnLoadDataStart()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         progressInfo = new FiasProgressInfo
         {
             TextBlock = {Text = "Загрузка данных"},
             ProgressBar = {IsIndeterminate = true}
         };
         progressInfo.Show();
     }));
 }
 void DbCache_OnStartRebuildCache()
 {
     Dispatcher.BeginInvoke(new ThreadStart(delegate
     {
         progressInfo = new FiasProgressInfo {TextBlock = {Text = "Подготовка к кэшированию"}};
         progressInfo.Show();
     }));
 }