Exemplo n.º 1
0
        internal static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            MainForm main;
            try {
                main = new MainForm();
            } catch(EndpointNotFoundException) {
                RentItMessageBox.ServerCommunicationError();
                return;
            }

            Application.Run(main);
        }