static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); wiserConnection = new WiserConnection(); _mainForm = new MainForm(); Application.Run(_mainForm); }
private void Form1_Load(object sender, EventArgs e) { _connection = new WiserConnection(); notifyIcon1.ShowBalloonTip(500, this.Text, "Connected to Heat Hub", ToolTipIcon.Info); }