Esempio n. 1
0
        private void btnCreateCustomer_Click(object sender, EventArgs e)
        {
            frmCustomer fcustomer = new frmCustomer();

            //this.Close();
            fcustomer.ShowDialog();
        }
Esempio n. 2
0
 private void menuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
 {
     if (e.ClickedItem.Text == "Customer")
     {
         frmCustomer fcustomer = new frmCustomer();
         fcustomer.ShowDialog();
     }
     else
     {
         frmOrder forder = new frmOrder();
         forder.ShowDialog();
     }
 }