private void NewQuote_Click(object sender, EventArgs e) { AddQuote frmAddQuote = new AddQuote(this); frmAddQuote.Show(this); Hide(); }
private void btnAddQuote_Click(object sender, EventArgs e) { //create addquote form var frmAddQuote = new AddQuote(this); //add reference to MainMenu //frmAddQuote.Tag = this; //show new Addquote Form frmAddQuote.Show(); //hide mainmenu this.Hide(); }