static PanelIndicator() { _imagePanelLeft = ResourceHelper.LoadBitmap(_ResourceImagePanelLeft); _imagePanelRight = ResourceHelper.LoadBitmap(_ResourceImagePanelRight); _imagePanelTop = ResourceHelper.LoadBitmap(_ResourceImagePanelTop); _imagePanelBottom = ResourceHelper.LoadBitmap(_ResourceImagePanelBottom); _imagePanelFill = ResourceHelper.LoadBitmap(_ResourceImagePanelFill); _imagePanelLeftActive = ResourceHelper.LoadBitmap(_ResourceImagePanelLeftActive); _imagePanelRightActive = ResourceHelper.LoadBitmap(_ResourceImagePanelRightActive); _imagePanelTopActive = ResourceHelper.LoadBitmap(_ResourceImagePanelTopActive); _imagePanelBottomActive = ResourceHelper.LoadBitmap(_ResourceImagePanelBottomActive); _imagePanelFillActive = ResourceHelper.LoadBitmap(_ResourceImagePanelFillActive); }
static PaneIndicator() { _bitmapPaneDiamond = ResourceHelper.LoadBitmap(_ResourceBitmapPaneDiamond); _bitmapPaneDiamondLeft = ResourceHelper.LoadBitmap(_ResourceBitmapPaneDiamondLeft); _bitmapPaneDiamondRight = ResourceHelper.LoadBitmap(_ResourceBitmapPaneDiamondRight); _bitmapPaneDiamondTop = ResourceHelper.LoadBitmap(_ResourceBitmapPaneDiamondTop); _bitmapPaneDiamondBottom = ResourceHelper.LoadBitmap(_ResourceBitmapPaneDiamondBottom); _bitmapPaneDiamondFill = ResourceHelper.LoadBitmap(_ResourceBitmapPaneDiamondFill); _bitmapPaneDiamondHotSpot = ResourceHelper.LoadBitmap(_ResourceBitmapPaneDiamondHotSpot); _bitmapPaneDiamondHotSpotIndex = ResourceHelper.LoadBitmap(_ResourceBitmapPaneDiamondHotSpotIndex); _hotSpots = new HotSpotIndex[] { new HotSpotIndex(1, 0, DockStyle.Top), new HotSpotIndex(0, 1, DockStyle.Left), new HotSpotIndex(1, 1, DockStyle.Fill), new HotSpotIndex(2, 1, DockStyle.Right), new HotSpotIndex(1, 2, DockStyle.Bottom) }; _displayingGraphicsPath = DrawHelper.CalculateGraphicsPathFromBitmap(_bitmapPaneDiamond); }