private void btnSetDataFolder_Click(object sender, EventArgs e) { using (var firstRunPath = new FirstRunPathDialog(false)) { firstRunPath.ShowDialog(); } UpdateFolderLabel(); }
private static void CheckIfFirstRun() { if (File.Exists(Paths.DataDir)) { return; } using (var firstRunPath = new FirstRunPathDialog(true)) { firstRunPath.ShowDialog(); } }