/// <summary> /// Constructor. /// </summary> /// <param name="theDataGridSopClasses">The DataGrid that is managed by this class.</param> /// <param name="theSessionTreeViewManager">The associated session tree view manager.</param> public SopClassesManager(ProjectForm2 theProjectForm2, System.Windows.Forms.DataGrid theDataGridSopClasses, System.Windows.Forms.ComboBox theComboBoxAeTitle, System.Windows.Forms.ListBox theListBoxDefinitionFileDirectories, System.Windows.Forms.RichTextBox theRichTextBoxInfo, SessionTreeViewManager theSessionTreeViewManager, System.Windows.Forms.Button theButtonRemoveDirectory) { _ProjectForm2 = theProjectForm2; _DataGridSopClasses = theDataGridSopClasses; _ComboBoxAeTitle = theComboBoxAeTitle; _ListBoxDefinitionFileDirectories = theListBoxDefinitionFileDirectories; _RichTextBoxInfo = theRichTextBoxInfo; _SessionTreeViewManager = theSessionTreeViewManager; _ButtonRemoveDirectory = theButtonRemoveDirectory; _DefinitionFilesInfoForDataGrid = new ArrayList(); _DefaultAeTitleVersion = new AeTitleVersion("DICOM", "3.0"); _theDefinitionFileTextColumn = new DataGridTextBoxColumn(); Initialize(); }
public ProjectForm2(Project theProject, MainForm theMainForm) { // // Required for Windows Form Designer support // InitializeComponent(); _ActivityReportEventHandler = new Dvtk.Events.ActivityReportEventHandler(TCM_OnActivityReportEvent); _Project = theProject; _MainForm = theMainForm; ListBoxSecuritySettings.SelectedIndex = 0; _SessionTreeViewManager = new SessionTreeViewManager(this, theProject, SessionTreeView); _SopClassesManager = new SopClassesManager(this, DataGridSpecifySopClasses, ComboBoxSpecifySopClassesAeTitle, ListBoxSpecifySopClassesDefinitionFileDirectories, RichTextBoxSpecifySopClassesInfo, _SessionTreeViewManager, ButtonSpecifySopClassesRemoveDirectory); _TCM_ValidationResultsManager = new ValidationResultsManager(WebDescriptionView); _TCM_ValidationResultsManager1 = new ValidationResultsManager(axWebBrowserScript); // Because the webbrowser navigation is "cancelled" when browsing to an .xml file // first another html file has to be shown to make this work under Windows 2000. _TCM_ValidationResultsManager.ShowHtml("about:blank"); _TCM_AppendTextToActivityLogging_ThreadSafe_Delegate = new TCM_AppendTextToActivityLogging_ThreadSafe_Delegate(this.TCM_AppendTextToActivityLogging_ThreadSafe); // // TODO: Add any constructor code after InitializeComponent call // // MK!!! }