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 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(); })); }
void DBUpdateWorker_OnLoadDataStart() { Dispatcher.BeginInvoke(new ThreadStart(delegate { progressInfo = new FiasProgressInfo { TextBlock = { Text = "Загрузка данных" }, ProgressBar = { IsIndeterminate = true } }; 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 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(); })); }