mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-01-22 11:21:45 -05:00
37 lines
No EOL
954 B
C#
37 lines
No EOL
954 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
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();
|
|
Main.Apps.Terminal term = new Main.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());
|
|
}
|
|
}
|
|
}
|
|
} |