コード例 #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();
        }