Example #1
0
        static void Main()
        {
            MainClass instance = new MainClass();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new TrayForm());
        }
Example #2
0
 public MainClass()
 {
     instance = this;
 }