예제 #1
0
 private void listViewDialogCustomer_ItemActivate(object sender, EventArgs e)
 {
     try
     {
         String CUSTNUMBER = listViewDialogCustomer.Items[listViewDialogCustomer.SelectedIndices[0]].Text;
         DialogSelectCustomer selectCustForm = new DialogSelectCustomer(REGION, AID, LID, LOGUSERID, USERNUMBER, CUSTNUMBER);
         selectCustForm.Show();
     }
     catch (Exception) { buttonCustomerViewSelectCustomer.Enabled = false; }
 }
예제 #2
0
 private void listViewDialogCustomer_ItemActivate(object sender, EventArgs e)
 {
     try
     {
         String CusID = listViewDialogCustomer.Items[listViewDialogCustomer.SelectedIndices[0]].Text;
         DialogSelectCustomer selectCustForm = new DialogSelectCustomer(KeyID, CusID);
         selectCustForm.ShowDialog();
     }
     catch (Exception)
     {
         buttonCustomerViewSelectCustomer.Enabled = false;
     }
 }