ShiftOS-Rewind/ShiftOS.Main/Program.cs
AShifter c81573594f Add SaveSystem, FullScreen Terminal and stuff
Git had a horrible seizure and removed our repo but Alex-TIMEHACK helped
us get it back.
2017-11-25 08:59:48 -07:00

38 lines
No EOL
988 B
C#

using System;
using System.Windows.Forms;
using ShiftOS.Main.ShiftOS;
namespace ShiftOS.Main
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
bool terminalMode = true;
if (terminalMode)
{
Form terminalForm = new Form();
ShiftOS.Apps.Terminal term = new ShiftOS.Apps.Terminal();
terminalForm.Controls.Add(term);
terminalForm.FormBorderStyle = FormBorderStyle.None;
terminalForm.WindowState = FormWindowState.Maximized;
term.Dock = DockStyle.Fill;
//terminalForm.Show();
Application.Run(terminalForm);
}
else
{
Application.Run(new Desktop());
}
}
}
}