/////////////////////////////////////////////////////////////////////////////// // Construction and Initializing methods // /////////////////////////////////////////////////////////////////////////////// #region CONSTRUCTION /// <summary> /// Initializes a new instance of the SMITracker class. /// </summary> /// <param name="owningRecordModule">The <see cref="RecordModule"/> /// form wich host the recorder.</param> /// <param name="trackerConnectButton">The <see cref="Button"/> /// named "Connect" at the tab page of the SMI device.</param> /// <param name="trackerSubjectButton">The <see cref="Button"/> /// named "Subject" at the tab page of the SMI device.</param> /// <param name="trackerCalibrateButton">The <see cref="Button"/> /// named "Calibrate" at the tab page of the SMI device.</param> /// <param name="trackerRecordButton">The <see cref="Button"/> /// named "Record" at the tab page of the SMI device.</param> /// <param name="trackerSubjectNameTextBox">The <see cref="TextBox"/> /// which should contain the subject name at the tab page of the SMI device.</param> /// <param name="trackerSettingsFile">The file with full path to the settings /// xml file of the tracking device.</param> /// <param name="smiClient">The specialized smi client.</param> public SMITracker( RecordModule owningRecordModule, Button trackerConnectButton, Button trackerSubjectButton, Button trackerCalibrateButton, Button trackerRecordButton, TextBox trackerSubjectNameTextBox, string trackerSettingsFile, ISMIClient smiClient) : base( owningRecordModule, trackerConnectButton, trackerSubjectButton, trackerCalibrateButton, trackerRecordButton, trackerSubjectNameTextBox, trackerSettingsFile) { // Setup client this.smiClient = smiClient; // Call the initialize methods of derived classes this.Initialize(); this.owningRecordModule = owningRecordModule; }