Пример #1
0
 private void btnSearch_Click(object sender, EventArgs e)
 {
     if (dtpStart.Value != null && dtpEnd.Value != null)
     {
         CustomerOrders customerOrdersForm = new CustomerOrders(customerList, dtpStart.Value, dtpEnd.Value);
         customerOrdersForm.ShowDialog();
     }
 }
Пример #2
0
        private void btnShowList_Click(object sender, EventArgs e)
        {
            CustomerOrders customerOrdersForm = new CustomerOrders(customerList);

            customerOrdersForm.ShowDialog();
        }