예제 #1
0
        /// <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;
        }
예제 #2
0
        /// <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;
        }