//View Quotes private void ViewQuote_Click(object sender, EventArgs e) { ViewAllQuotes form = new ViewAllQuotes(); form.Show(); this.Hide(); }
private void ViewQuote_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.V) { ViewAllQuotes form = new ViewAllQuotes(); form.Show(); this.Hide(); } }