Пример #1
0
        private void loadRunWorkerCompleted(object sender, RunWorkerCompletedEventArgs args)
        {
            loadingForm.Close();

            AssetsChanged.Invoke(sender, args);

            backgroundWorkers.Remove((BackgroundWorker)sender);
        }
Пример #2
0
        private void exportRunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            loadingForm.Close();

            Close();

            MessageBox.Show("Successfully exported " + (Int32)e.Result + " models.");
        }
Пример #3
0
        private void loadRunWorkerCompleted(object sender, RunWorkerCompletedEventArgs args)
        {
            loadingForm.Close();

            if (AssetBrowser.Instance != null)
            {
                AssetBrowser.Instance.RefreshPacksListBox();
            }

            if (ModelBrowser.Instance != null)
            {
                ModelBrowser.Instance.Refresh();
            }

            if (MaterialBrowser.Instance != null)
            {
                MaterialBrowser.Instance.Refresh();
            }
        }