blob: 7d8473f24784bdd72bfcc5abf5f3805c70441893 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Media;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace love2dToAPK {
static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
///
public static Forms.frmOutput frmOutput;
public static string Output {
get { return _output; }
set { _output = value; log(value); }
}
private static string _output;
[STAThread]
static void Main() {
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if (Properties.Settings.Default.firstStart) {
Forms.frmFirstStartup firstStartupDialog = new Forms.frmFirstStartup();
firstStartupDialog.ShowDialog();
}
Application.Run(new Forms.frmMain());
}
private static void log(string str) {
if (frmOutput != null) {
frmOutput.log(str);
}
}
}
}
|