private void loadRunWorkerCompleted(object sender, RunWorkerCompletedEventArgs args) { loadingForm.Close(); AssetsChanged.Invoke(sender, args); backgroundWorkers.Remove((BackgroundWorker)sender); }
private void exportRunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { loadingForm.Close(); Close(); MessageBox.Show("Successfully exported " + (Int32)e.Result + " models."); }
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(); } }