예제 #1
0
 private void buttonCustomerViewSelectComplaint_Click(object sender, EventArgs e)
 {
     try
     {
         String CUSTNUMBER = listViewDialogCustomer.Items[listViewDialogCustomer.SelectedIndices[0]].Text;
         DialogSelectAllComplaint selectCustComplaintForm = new DialogSelectAllComplaint(REGION, AID, LID, LOGUSERID, USERNUMBER, CUSTNUMBER);
         selectCustComplaintForm.ShowDialog();
     }
     catch (Exception) { buttonCustomerViewSelectComplaint.Enabled = false; }
 }
        private void buttonView_Click(object sender, EventArgs e)
        {
            DialogSelectAllComplaint selectCustComplaintForm = new DialogSelectAllComplaint(REGION, AID, LID, LOGUSERID, USERNUMBER, CUSTNUMBER);

            selectCustComplaintForm.ShowDialog();
        }