public VS2012PaneIndicator(ThemeBase theme) { _bitmapPaneDiamond = theme.ImageService.Dockindicator_PaneDiamond; _bitmapPaneDiamondLeft = theme.ImageService.Dockindicator_PaneDiamond_Fill; _bitmapPaneDiamondRight = theme.ImageService.Dockindicator_PaneDiamond_Fill; _bitmapPaneDiamondTop = theme.ImageService.Dockindicator_PaneDiamond_Fill; _bitmapPaneDiamondBottom = theme.ImageService.Dockindicator_PaneDiamond_Fill; _bitmapPaneDiamondFill = theme.ImageService.Dockindicator_PaneDiamond_Fill; _bitmapPaneDiamondHotSpot = theme.ImageService.Dockindicator_PaneDiamond_Hotspot; _bitmapPaneDiamondHotSpotIndex = theme.ImageService.DockIndicator_PaneDiamond_HotspotIndex; _displayingGraphicsPath = DrawHelper.CalculateGraphicsPathFromBitmap(_bitmapPaneDiamond); SizeMode = PictureBoxSizeMode.AutoSize; Image = _bitmapPaneDiamond; Region = new Region(DisplayingGraphicsPath); }