private void stayOnTopToolStripMenuItem_Click(object sender, EventArgs e)
{
if (this.TopMost)
{
Properties.Settings.Default.TopMost = false;
this.TopMost = false;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
stayOnTopToolStripMenuItem.Checked = false;
}
else
{
Properties.Settings.Default.TopMost = true;
this.TopMost = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
stayOnTopToolStripMenuItem.Checked = true;
}
Properties.Settings.Default.Save();
}