2017-09-21 22:16:49 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
2017-09-23 16:17:59 +00:00
|
|
|
|
namespace ShiftOS.Main
|
2017-09-21 22:16:49 +00:00
|
|
|
|
{
|
2017-11-05 23:47:46 +00: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 22:32:16 +00:00
|
|
|
|
|
2017-11-25 15:59:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool terminalMode = true;
|
|
|
|
|
if (terminalMode)
|
|
|
|
|
{
|
|
|
|
|
Form terminalForm = new Form();
|
2018-12-24 01:15:07 +00:00
|
|
|
|
Main.Apps.Terminal term = new Main.Apps.Terminal();
|
2017-11-25 15:59:48 +00:00
|
|
|
|
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 23:47:46 +00:00
|
|
|
|
}
|
|
|
|
|
}
|