narsil/Tanshu.Accounts.PointOfSale/Program.cs
2018-08-24 16:11:33 +05:30

29 lines
687 B
C#

using System;
using System.Net;
using System.Windows.Forms;
namespace Tanshu.Accounts.PointOfSale
{
static class Program
{
[STAThread]
static void Main()
{
try
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
catch (WebException ex)
{
MessageBox.Show("Error: " + ex.Message + "\nPlease make sure that the server is on and connected");
}
finally
{
Application.Exit();
}
}
}
}