Server/Program.cs
author sl
Thu, 14 Aug 2014 18:37:23 +0200
changeset 29 c4e03315035c
parent 17 19c1aaf900dc
child 31 f19b04646b6a
permissions -rw-r--r--
Client/Server duplex is still a mess in C#.
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@17
    11
        public static MainForm iMainForm;
sl@0
    12
        /// <summary>
sl@0
    13
        /// The main entry point for the application.
sl@0
    14
        /// </summary>
sl@0
    15
        [STAThread]
sl@0
    16
        static void Main()
sl@0
    17
        {
sl@0
    18
            Application.EnableVisualStyles();
sl@0
    19
            Application.SetCompatibleTextRenderingDefault(false);
sl@17
    20
            iMainForm = new MainForm();
sl@17
    21
            Application.Run(iMainForm);
sl@0
    22
        }
sl@0
    23
    }
sl@0
    24
}