narsil/Tanshu.Accounts.PointOfSale/Program.cs

29 lines
687 B
C#
Raw Normal View History

2010-03-02 17:56:21 +00:00
using System;
2018-08-24 10:41:33 +00:00
using System.Net;
2010-03-02 17:56:21 +00:00
using System.Windows.Forms;
namespace Tanshu.Accounts.PointOfSale
{
static class Program
{
[STAThread]
static void Main()
{
2018-08-24 10:41:33 +00:00
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();
}
2010-03-02 17:56:21 +00:00
}
}
}