/// <summary> /// ctor /// </summary> public LabwareEditor(NewInformationHandler newInfoHandler, Window parent) : base(newInfoHandler) { InitializeComponent(); inputChecker.OnStartMove += inputChecker_OnStartMove; inputChecker.OnStopMove += inputChecker_OnStopMove; TeachingControllerDelegate.Instance.RegisterController(new TeachingControllerSimulator()); this.Loaded += LabwareEditor_Loaded; this.Unloaded += LabwareEditor_Unloaded; parent.Closing += parent_Closing; cmbCalibCarrier.SelectionChanged += cmbCalibCarrier_SelectionChanged; }
/// <summary> /// Default constructor /// </summary> public LayoutEditor(Layout layout = null, NewInformationHandler newInfoHandler = null) : base(newInfoHandler) { InitializeComponent(); _layout = layout; if (_layout == null) { _layout = new Layout(); } Layout.SelectedLayout = _layout; _worktable.SizeChanged += uiContainer_SizeChanged; _uiController = new UIMovementsController(_worktable, _layout); _uiController.onLabelPreviewChanged += uiController_onLabelPreviewChanged; this.Loaded += LayoutUserControl_Loaded; }
public BaseEditor(NewInformationHandler newInfoHandler) : base() { // TODO: Complete member initialization this.newInfoHandler = newInfoHandler; }
/// <summary> /// ctor /// </summary> public CarrierEditor(NewInformationHandler newInfoHandler) : base(newInfoHandler) { InitializeComponent(); this.Loaded += CarrierEditor_Loaded; }
/// <summary> /// Default constructor /// </summary> public LiquidClassEditor(NewInformationHandler newInfoHandler) : base(newInfoHandler) { InitializeComponent(); }