private void btnAddQuote_Click(object sender, EventArgs e) { AddQuote addQuoteForm = new AddQuote(); addQuoteForm.Tag = this; addQuoteForm.Show(this); Hide(); }
private void openAddQuoteButton_Click(object sender, EventArgs e) { AddQuote addNewQuoteForm = new AddQuote(); addNewQuoteForm.Tag = this; addNewQuoteForm.Show(this); Hide(); }
private void AddQuote_Click(object sender, EventArgs e) { AddQuote viewAddQuote = new AddQuote(); viewAddQuote.Tag = this; viewAddQuote.Show(this); this.Hide(); }
private void AddQuoteButton_Click(object sender, EventArgs e) { this.Hide(); AddQuote aq = new AddQuote(); aq.ShowDialog(); this.Close(); }
private void buttonAddNewQuotes_Click(object sender, EventArgs e) { AddQuote addQuote = new AddQuote(); addQuote.Tag = this; addQuote.Show(this); Hide(); }
private void navAddQuote_Click(object sender, EventArgs e) { AddQuote newquote = new AddQuote(); newquote.Tag = this; newquote.Show(this); Hide(); }
private void BtnAddNewQuote_Click(object sender, EventArgs e) { AddQuote addQuote = new AddQuote(this); addQuote.Tag = this; addQuote.Show(); this.Hide(); }
private void newQuote_Click(object sender, EventArgs e) { AddQuote AddQuoteForm = new AddQuote { Tag = this }; AddQuoteForm.Show(this); Hide(); }
private void btnAdd_Click(object sender, EventArgs e) { var addQuote = new AddQuote(); addQuote.Tag = this; addQuote.Show(); this.Hide(); }
private void AddQuoteButton_Click(object sender, EventArgs e) { AddQuote AddQuoteForm = new AddQuote { Tag = this }; AddQuoteForm.Show(this); this.Hide(); }
private void new_quote_Click(object sender, EventArgs e) { if (addQuote == null) { addQuote = new AddQuote(); } Hide(); addQuote.Show(); }
private void btnAdd_Click(object sender, EventArgs e) { WriteToFile(); DialogResult result = MessageBox.Show(this, "Quote confirmed!", "Success!"); AddQuote addQuote = (AddQuote)Tag; addQuote.Show(); Close(); }
private void btnAddNewQuote_Click(object sender, EventArgs e) { //build new addquote form object var frmAddQuote = new AddQuote(); // add tag to get back to main menu frmAddQuote.Tag = this; frmAddQuote.Show(); //hide menu this.Hide(); }
private void navAddQuote_Click(object sender, EventArgs e) { AddQuote newquote = new AddQuote(); newquote.Tag = this; try { newquote.Show(this); Hide(); } catch (Exception) { MessageBox.Show("The rush order pricing file is missing or corrupted!", "ALERT", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }
private void addNewQuote_Click(object sender, EventArgs e) { if ((Application.OpenForms["AddQuote"] as AddQuote) != null) { // If form exists, bring to front addQuoteForm = Application.OpenForms.OfType <AddQuote>().LastOrDefault(); addQuoteForm.WindowState = FormWindowState.Normal; addQuoteForm.Focus(); } else { // If form does not exist, create it addQuoteForm = new AddQuote(ref savedQuotesFile, ref shippingCostsFile); addQuoteForm.Show(); } }
private void btnAddNewQuote_Click(object sender, EventArgs e) { AddQuote newQuote = new AddQuote(); newQuote.ShowDialog(); }
// Opens Add Quote form on button click private void AddQuote_Click(object sender, EventArgs e) { Form addQuoteForm = new AddQuote(); addQuoteForm.ShowDialog(); }
private void Btn_newQuote_Click(object sender, EventArgs e) { AddQuote addQuote = new AddQuote(); addQuote.Show(); }
private void btnAddNewQuote_Click(object sender, EventArgs e) { var addQuoteForm = new AddQuote(); openForm(addQuoteForm); }