public EditPatientDialog(NActionScu naction, QueryRetrieveScu find, DicomScp scp, Patient patient) { InitializeComponent(); _Patient = patient; _naction = naction; _find = find; _scp = scp; errorProvider = new ErrorProvider(this); errorProvider.SetIconAlignment(textBoxLastname, ErrorIconAlignment.TopLeft); errorProvider.SetIconAlignment(textBoxId, ErrorIconAlignment.TopLeft); }
public EditSeriesDialog(NActionScu naction, QueryRetrieveScu find, DicomScp scp, string studyInstanceUID, PatientUpdaterSeries series, Patient patient) { InitializeComponent(); _Series = series; _Patient = patient; _naction = naction; _scp = scp; _find = find; _StudyInstanceUID = studyInstanceUID; InitializeModalities(); try { radioButtonMoveSeriesToExistingPatient.Visible = ConfigurationManager.AppSettings["AllowSeriesMove"] == null ? false : bool.Parse(ConfigurationManager.AppSettings["AllowSeriesMove"]); } catch { radioButtonMoveSeriesToExistingPatient.Visible = false; } }
partial void CreateNAction() { if (_naction != null) { _naction.Dispose(); } #if !LEADTOOLS_V20_OR_LATER _naction = new NActionScu(_mySettings.TemporaryDirectory, DicomNetSecurityeMode.None, null); #else _naction = new NActionScu(_mySettings.TemporaryDirectory, DicomNetSecurityMode.None, null); #endif // #if !LEADTOOLS_V20_OR_LATER _naction.ImplementationClass = _mySettings.ImplementationClass; _naction.ProtocolVersion = _mySettings.ProtocolVersion; _naction.ImplementationVersionName = _mySettings.ImplementationVersionName; _naction.AETitle = _mySettings.ClientAe.AE; _naction.BeforeConnect += new BeforeConnectDelegate(_find_BeforeConnect); _naction.AfterConnect += new AfterConnectDelegate(_find_AfterConnect); _naction.BeforeAssociateRequest += new BeforeAssociationRequestDelegate(_find_BeforeAssociateRequest); _naction.AfterAssociateRequest += new AfterAssociateRequestDelegate(_find_AfterAssociateRequest); }