Server/Program.cs
author sl
Sat, 25 Oct 2014 13:35:11 +0200
changeset 72 fd0bb39a7818
parent 18 7acec5059fa6
child 86 829dd13b1048
permissions -rw-r--r--
Now having a single class for both text and bitmap field.
Thus we should soon be able to use common functions to pass in fields.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Linq;
     4 using System.Threading.Tasks;
     5 using System.Windows.Forms;
     6 
     7 namespace SharpDisplayManager
     8 {
     9     static class Program
    10     {
    11         //WARNING: This is assuming we have a single instance of our program.
    12         //That is what we want but we should enforce it somehow.
    13         public static MainForm iMainForm;
    14         /// <summary>
    15         /// The main entry point for the application.
    16         /// </summary>
    17         [STAThread]
    18         static void Main()
    19         {
    20             Application.EnableVisualStyles();
    21             Application.SetCompatibleTextRenderingDefault(false);
    22             iMainForm = new MainForm();
    23             Application.Run(iMainForm);
    24         }
    25     }
    26 }