public frm_BrightnessController(DROC_Ribbon _CallForm, MedicalViewer _AcqMedicalVwr, int _CellIndex) { InitializeComponent(); this.Load += new EventHandler(frm_BrightnessController_Load); this.KeyDown += new KeyEventHandler(frm_BrightnessController_KeyDown); TrackbarBright.ValueChanged += new EventHandler(TrackbarBright_ValueChanged); TrackbarContrast.ValueChanged += new EventHandler(TrackbarContrast_ValueChanged); this.CallForm = _CallForm; this._AcqMedicalVwr = _AcqMedicalVwr; this._DcmViewerCellIndex = _CellIndex; }
public frm_UpdateHosInfor(DROC_Ribbon _mainForm) { InitializeComponent(); this._mainForm = _mainForm; LoadConfig(); }