private void TrayIcon_Click(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { if (FormDisplay == null && FormCollection == null) StartInk(); else if (Docked) UnDock(); } }