2017-09-21 18:16:49 -04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
2017-09-27 18:32:16 -04:00
|
|
|
|
using ShiftOS.Main.ShiftOS;
|
2017-09-21 18:16:49 -04:00
|
|
|
|
|
2017-09-23 12:17:59 -04:00
|
|
|
|
namespace ShiftOS.Main
|
2017-09-21 18:16:49 -04:00
|
|
|
|
{
|
2017-11-05 18:47:46 -05:00
|
|
|
|
static class Program
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The main entry point for the application.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[STAThread]
|
|
|
|
|
static void Main()
|
|
|
|
|
{
|
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
2017-09-27 18:32:16 -04:00
|
|
|
|
|
2017-11-25 10:59:48 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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());
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-11-05 18:47:46 -05:00
|
|
|
|
}
|
|
|
|
|
}
|