private void AddQuote_Click(object sender, EventArgs e) { AddQuote viewAddQuoteForm = new AddQuote(); viewAddQuoteForm.Tag = this; viewAddQuoteForm.Show(this); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { AddQuote AddQuoteForm = new AddQuote { Tag = this }; AddQuoteForm.Show(this); }