/// <summary> /// Displays the settings form for this application. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { var settings = new frmSettings(); settings.ShowDialog(); // Set always on top option.. this.TopMost = Globals.Instance.Config.AlwaysOnTop; // Set minimize to tray option.. this.niTrayIcon.Visible = Globals.Instance.Config.MinimizeToTray; }