private void button1_Click(object sender, EventArgs e) { Form addNew = new AddQuote(); addNew.Show(); this.Hide(); }
private void btnAddNewQuote_Click(object sender, EventArgs e) { AddQuote frmAddQuote = new AddQuote(this); frmAddQuote.Show(); Hide(); }
private void addNewQuoteButton_Click(object sender, EventArgs e) { AddQuote aq = new AddQuote(); aq.Show(); this.Hide(); }
private void btnBack_Click(object sender, EventArgs e) { AddQuote addQuote = (AddQuote)Tag; addQuote.Show(); Close(); }
private void AddNewQuoteButton_Click(object sender, EventArgs e) { AddQuote addQuote = new AddQuote(); addQuote.Show(); Hide(); }
private void Button1_Click(object sender, EventArgs e) { AddQuote frmAddQuote = new AddQuote(this); frmAddQuote.Show(); Hide(); }
// I couldn't figure out back to main so I sent it back to add quote // I guess a user cou private void close_Click(object sender, EventArgs e) { AddQuote viewMainMenu = (AddQuote)Tag; viewMainMenu.Show(); Close(); }
// Below are KeyPress Events private void A(object sender, KeyPressEventArgs e) { AddQuote NewQuote = new AddQuote(); NewQuote.Tag = this; NewQuote.Show(this); }
// Events Below give function to the buttons private void button1_Click(object sender, EventArgs e) { AddQuote NewQuote = new AddQuote(); NewQuote.Tag = this; NewQuote.Show(this); }
private void btnAddQuote_Click(object sender, EventArgs e) { AddQuote AQ = new AddQuote(); AQ.Show(); Close(); }
private void AddQuote_Click(object sender, EventArgs e) { AddQuote viewAddQuote = new AddQuote(); viewAddQuote.Tag = this; viewAddQuote.Show(this); this.Hide(); }
private void navAddQuote_Click(object sender, EventArgs e) { AddQuote newquote = new AddQuote(); newquote.Tag = this; newquote.Show(this); Hide(); }
private void addQuote_Click(object sender, EventArgs e) { AddQuote addQuote = new AddQuote(); addQuote.Tag = this; addQuote.Show(this); Hide(); }
private void openAddQuoteButton_Click(object sender, EventArgs e) { AddQuote addNewQuoteForm = new AddQuote(); addNewQuoteForm.Tag = this; addNewQuoteForm.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 AddQuoteButton_Click(object sender, EventArgs e) { AddQuote AddQuoteForm = new AddQuote { Tag = this }; AddQuoteForm.Show(this); 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 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 Btn_newQuote_Click(object sender, EventArgs e) { AddQuote addQuote = new AddQuote(); addQuote.Show(); }