Пример #1
0
    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();
        }
    }
Пример #2
0
    private void button1_Click(object sender, EventArgs e)
    {
        OpenFileDialog robloxFileDialog = SDKFuncs.LoadROBLOXFileDialog(currentType);

        if (robloxFileDialog.ShowDialog() == DialogResult.OK)
        {
            path = robloxFileDialog.FileName;
            backgroundWorker1.RunWorkerAsync();
        }
    }