2014-07-11 16:38:10 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2015-03-04 23:21:34 +01:00
|
|
|
|
using System.Windows.Forms;
|
2014-07-11 16:38:10 +02:00
|
|
|
|
|
|
|
|
|
|
2015-11-16 01:10:59 +01:00
|
|
|
|
namespace NetMonitorTray {
|
|
|
|
|
class Program {
|
|
|
|
|
[STAThread]
|
|
|
|
|
static void Main(string[] args) {
|
|
|
|
|
try {
|
|
|
|
|
Controller.Tray t = new Controller.Tray();
|
|
|
|
|
t.execute();
|
|
|
|
|
Application.Run();
|
|
|
|
|
} catch(Exception e) {
|
|
|
|
|
MessageBox.Show("Fehler: " + e.Message + "\nStack: " + e.StackTrace, "Exception: " + e.GetType().ToString(), MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
|
|
|
}
|
2014-07-11 16:38:10 +02:00
|
|
|
|
}
|
2015-11-16 01:10:59 +01:00
|
|
|
|
}
|
2014-07-11 16:38:10 +02:00
|
|
|
|
}
|