private void AssetLocalization_LocalizeButton_Click(object sender, EventArgs e) { OpenFileDialog robloxFileDialog = SDKFuncs.LoadROBLOXFileDialog(currentType); if (robloxFileDialog.ShowDialog() == DialogResult.OK) { path = robloxFileDialog.FileName; AssetLocalization_BackgroundWorker.RunWorkerAsync(); } }
void AssetSDK_Close(object sender, CancelEventArgs e) { //asset localizer AssetLocalization_BackgroundWorker.CancelAsync(); }