Server/Program.cs
author sl
Mon, 13 Oct 2014 21:21:53 +0200
changeset 68 1d0cd5e6e0a9
parent 18 7acec5059fa6
child 86 829dd13b1048
permissions -rw-r--r--
Bitmap field now mostly working.
sl@0
     1
using System;
sl@0
     2
using System.Collections.Generic;
sl@0
     3
using System.Linq;
sl@0
     4
using System.Threading.Tasks;
sl@0
     5
using System.Windows.Forms;
sl@0
     6
sl@0
     7
namespace SharpDisplayManager
sl@0
     8
{
sl@0
     9
    static class Program
sl@0
    10
    {
sl@31
    11
        //WARNING: This is assuming we have a single instance of our program.
sl@31
    12
        //That is what we want but we should enforce it somehow.
sl@17
    13
        public static MainForm iMainForm;
sl@0
    14
        /// <summary>
sl@0
    15
        /// The main entry point for the application.
sl@0
    16
        /// </summary>
sl@0
    17
        [STAThread]
sl@0
    18
        static void Main()
sl@0
    19
        {
sl@0
    20
            Application.EnableVisualStyles();
sl@0
    21
            Application.SetCompatibleTextRenderingDefault(false);
sl@17
    22
            iMainForm = new MainForm();
sl@17
    23
            Application.Run(iMainForm);
sl@0
    24
        }
sl@0
    25
    }
sl@0
    26
}