-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathProgram.cs
More file actions
41 lines (37 loc) · 1.38 KB
/
Program.cs
File metadata and controls
41 lines (37 loc) · 1.38 KB
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
using System;
using System.Windows.Forms;
namespace QRCoderArt
{
/// <summary>
/// Class Program.
/// </summary>
static class Program
{
/// <summary>
/// Главная точка входа для приложения.
/// </summary>
[STAThread]
static void Main()
{
// GUITree ReflectionData = new GUITree(typeof(QRCoder.PayloadGenerator).AssemblyQualifiedName);
GUITree ReflectionData = new GUITree();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormMain(ReflectionData));
}
// Display a formatted string indented by the specified amount.
/// <summary>
/// Displays the specified indent.
/// </summary>
/// <param name="indent">The indent.</param>
/// <param name="format">The format.</param>
/// <param name="param">The parameter.</param>
public static void Display(Int32 indent, string format, params object[] param)
{
// System.Diagnostics.Debug.WriteLine(new string(' ', indent * 2));
// System.Diagnostics.Debug.WriteLine(format, param);
Console.Write(new string(' ', Math.Abs(indent) * 2));
Console.WriteLine(format, param);
}
}
}