Server/Program.cs
author sl
Mon, 22 Sep 2014 13:21:00 +0200
changeset 61 5a24e79384be
parent 18 7acec5059fa6
child 86 829dd13b1048
permissions -rw-r--r--
Implement generic function to regenerate our display table layout.
Add and remove column now working.
     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 }