-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
50 lines (47 loc) · 1.59 KB
/
Program.cs
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
44
45
46
47
48
49
50
// ===============================
// AUTHOR : Duc-Thang ONG
// CREATE DATE : 31-Jul-2019
// PURPOSE : Multi-form project for purchasing computers
// ===============================
// Change History:
// 31-07: Created forms
// 01-08: Created Timer for Form splash as welcome page
// 02-08: Created form transition buttons and their function
//==================================
using COMP123_S2019_A5_301051523.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using COMP123_S2019_A5_301051523.Models;
using System.Windows.Forms;
namespace COMP123_S2019_A5_301051523
{
public static class Program
{
public static FormOrder formOrder;
public static FormSelect formSelect;
public static FormProductInfo formProductInfo;
public static FormStart formStart;
public static FormAbout formAbout;
public static FormSplash formSplash;
public static Product product;
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
public static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
formOrder = new FormOrder();
formSelect = new FormSelect();
formProductInfo = new FormProductInfo();
formStart = new FormStart();
formAbout = new FormAbout();
formSplash = new FormSplash();
product = new Product();
Application.Run(formSplash);
}
}
}