Add button interactions
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user