public ItemControl(ApproachTabCControl container) { _container = container; InitializeComponent(); memoEditSubheader.EnableSelectAll().RaiseNullValueIfEditorEmpty(); ItemState = ApproachState.ApproachItemState.Empty(); ItemState.Index = DefaultItemIndex; pictureEditClipart.MouseWheel += OnClipartMouseWheel; var scaleFactor = Utilities.GetScaleFactor(CreateGraphics().DpiX); layoutControlItemUp.MaxSize = RectangleHelper.ScaleSize(layoutControlItemUp.MaxSize, scaleFactor); layoutControlItemUp.MinSize = RectangleHelper.ScaleSize(layoutControlItemUp.MinSize, scaleFactor); layoutControlItemList.MaxSize = RectangleHelper.ScaleSize(layoutControlItemList.MaxSize, scaleFactor); layoutControlItemList.MinSize = RectangleHelper.ScaleSize(layoutControlItemList.MinSize, scaleFactor); layoutControlItemDown.MaxSize = RectangleHelper.ScaleSize(layoutControlItemDown.MaxSize, scaleFactor); layoutControlItemDown.MinSize = RectangleHelper.ScaleSize(layoutControlItemDown.MinSize, scaleFactor); layoutControlItemWipe.MaxSize = RectangleHelper.ScaleSize(layoutControlItemWipe.MaxSize, scaleFactor); layoutControlItemWipe.MinSize = RectangleHelper.ScaleSize(layoutControlItemWipe.MinSize, scaleFactor); emptySpaceItemWipe.MaxSize = RectangleHelper.ScaleSize(emptySpaceItemWipe.MaxSize, scaleFactor); emptySpaceItemWipe.MinSize = RectangleHelper.ScaleSize(emptySpaceItemWipe.MinSize, scaleFactor); }
public Item4Control(ApproachTabCControl container) : base(container) { }