private void Form_Overview_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F5) { UC_Overview.Update_Overview(); e.Handled = true;//Event nicht an andere Controls weiter leiten. } }
private void TSMI_Overview_Click(object sender, EventArgs e) { if (Form_Overview.isopen) { Form_Overview.tofront = true; } else { Form form_Overview = new Form_Overview(); form_Overview.Show(); UC_Overview.Update_Overview(); } }