private void Form_ViewCarForRent_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F && e.Modifiers == Keys.Control) { this.TopMost = false; ProductArr productArr = new ProductArr(); productArr.Fill(); Form_FilterView newform = new Form_FilterView(productArr.MaxPriceRent().ToString()); if (newform.ShowDialog() == DialogResult.OK) { this.dgv_Cars.Rows.Clear(); ShowColumns(newform.GetCars()); } this.TopMost = true; } else if (e.KeyCode == Keys.I && e.Modifiers == Keys.Control) { // Show Instructions lbl_Instructions.Visible = isopen; isopen = !isopen; } else if (e.KeyCode == Keys.Escape) { Form_MidView newform = new Form_MidView(newemployee, form); form.OpenForm(newform); } else if (e.KeyCode == Keys.N && e.Modifiers == Keys.Control) { Form_Product newform = new Form_Product(newemployee); form.OpenForm(newform); form.MovePanel(form.btn_Product); } }