Esempio n. 1
0
 /// <summary>
 /// Initializes an instance of salesquote form,open in modal window.
 /// </summary>
 private void salesQuoteToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         Form myForm = new SalesQuoteForm();
     }
     catch (Exception)
     {
         DialogResult result = MessageBox.Show("Unable to load vehicle data.",
                                               "Data Load Error",
                                               MessageBoxButtons.OK,
                                               MessageBoxIcon.Error);
     }
 }
Esempio n. 2
0
        private void mnuFileOpenSalesQuote_Click(object sender, EventArgs e)
        {
            SalesQuoteForm sales = new SalesQuoteForm();

            sales.ShowDialog();
        }
Esempio n. 3
0
        /// <summary>
        /// Method called when File, Open, Sales Quote is clicked from menu. Shows the SalesQuote form.
        /// </summary>
        private void MnuFileOpenSalesQuote_clicked(object publisher, EventArgs e)
        {
            SalesQuoteForm salesQuoteForm1 = new SalesQuoteForm();

            salesQuoteForm1.ShowDialog();
        }