コード例 #1
0
 private void listViewDialogSMSComplaint_ItemActivate(object sender, EventArgs e)
 {
     try
     {
         String COMPID = listViewDialogSMSComplaint.Items[listViewDialogSMSComplaint.SelectedIndices[0]].Text;
         DialogSelectComplaint selectCustComplaintForm = new DialogSelectComplaint(REGION, AID, LID, LOGUSERID, USERNUMBER, COMPID);
         selectCustComplaintForm.ShowDialog();
     }
     catch (Exception) { buttonSMSComplaintViewSelectSMSComplaint.Enabled = false; }
 }
コード例 #2
0
 private void buttonSMSComplaintViewSelectSMSComplaint_Click(object sender, EventArgs e)
 {
     try
     {
         String CusID = listViewDialogSMSComplaint.Items[listViewDialogSMSComplaint.SelectedIndices[0]].Text;
         DialogSelectComplaint selectCustForm = new DialogSelectComplaint(CusID);
         selectCustForm.ShowDialog();
     }
     catch (Exception)
     {
         buttonSMSComplaintViewSelectSMSComplaint.Enabled = false;
     }
 }