// --- Update Passport void wc_ws_updatePassportCompleted(object sender, ws_updatePassportCompletedEventArgs e) { if (e.Result == 1) { ucResult = 1; ucPID = Ex_Pass.DevID; resultChildWindow.init(Messages.m_Message, Messages.m_PassportUpdated); resultChildWindow.Show(); resultChildWindow.Closed += new EventHandler(resultChildWindow_Closed); } else { cwnd_ShitHappens w = new cwnd_ShitHappens(ErrorResources.err_UPDATE, e.OpStatus.ToString()); w.Show(); } }
// --- Update Passport void wc_ws_updatePassportCompleted(object sender, ws_updatePassportCompletedEventArgs e) { if (e.Result == 1) { ucResult = 1; ucPID = Ex_Pass.DevID; resultChildWindow.init(Messages.m_Message, Messages.m_PassportUpdated); resultChildWindow.Show(); resultChildWindow.Closed += new EventHandler(resultChildWindow_Closed); } else { cwnd_ShitHappens w = new cwnd_ShitHappens(ErrorResources.err_UPDATE, e.OpStatus.ToString()); w.Show(); } }