Converting to file-scoped namespaces
This commit is contained in:
@@ -1,22 +1,21 @@
|
||||
namespace GUI
|
||||
{
|
||||
public delegate string DataRequest(); //Fire whenever a specific field of ProfileHandler.CurrentProfile is needed
|
||||
internal static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
ConfigFileManager.Init();
|
||||
ApplicationConfiguration.Initialize();
|
||||
Application.Run(mainForm);
|
||||
}
|
||||
namespace GUI;
|
||||
|
||||
public static MainForm mainForm = new MainForm(
|
||||
() => ConfigFileManager.GetPath(),
|
||||
() => ConfigFileManager.GetRecipient()
|
||||
); //needed at creation so that MainForm may pass this method down to other classes in its constructor
|
||||
public delegate string DataRequest(); //Fire whenever a specific field of ProfileHandler.CurrentProfile is needed
|
||||
internal static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
ConfigFileManager.Init();
|
||||
ApplicationConfiguration.Initialize();
|
||||
Application.Run(mainForm);
|
||||
}
|
||||
|
||||
public static MainForm mainForm = new MainForm(
|
||||
() => ConfigFileManager.GetPath(),
|
||||
() => ConfigFileManager.GetRecipient()
|
||||
); //needed at creation so that MainForm may pass this method down to other classes in its constructor
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user