Beispiel #1
0
		private void helpHelpToolStripMenuItem_Click(object sender, EventArgs e)
		{	
			if (helpForm == null|| helpForm.IsDisposed)
			{
				helpForm = new HelpForm();
				helpForm.Show(this);
			}
			else { helpForm.Activate(); }
		}
Beispiel #2
0
		private void otherHotkeyHandler(object sender, KeyEventArgs e)
		{
			//esc == select encoding combo box
			if (e.Modifiers == Keys.None && e.KeyCode == Keys.Escape)
			{
				encodingchoiceBox1.Focus();
				encodingchoiceBox1.Capture = true;
			}
			//F1 == open help window
			if (e.Modifiers == Keys.None && e.KeyCode == Keys.F1)
			{
				if (helpForm == null || helpForm.IsDisposed)
				{
					helpForm = new HelpForm();
					helpForm.Show();
				}
				else { helpForm.Activate(); }
			}
		}