Add button interactions

This commit is contained in:
2021-12-04 13:31:20 +01:00
parent 0d2f2a6653
commit 5d761a5920
4 changed files with 61 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ using System.Windows.Forms;
namespace ExeLauncher
{
class Program
public class Program
{
const string Paths = "%Paths%";
const string Arguments = "%Arguments%";
@@ -62,7 +62,7 @@ namespace ExeLauncher
Console.ReadKey(true);
}
private static void CreateExecutable(string location, string paths, string arguments, string workingDirectories, string icon)
public static void CreateExecutable(string location, string paths, string arguments, string workingDirectories, string icon)
{
code = code.Replace(Paths, paths);
code = code.Replace(Arguments, arguments);
@@ -92,7 +92,7 @@ namespace ExeLauncher
}
}
private static string GetIcon()
public static string GetIcon()
{
var dialog = new OpenFileDialog()
{
@@ -108,7 +108,7 @@ namespace ExeLauncher
return "";
}
private static string GetLocation()
public static string GetLocation()
{
var dialog = new SaveFileDialog()
{