public InfoEditControl(InfoItem bundleItem) { _bundleItem = bundleItem; InitializeComponent(); Text = InfoItem.ItemName; if (CreateGraphics().DpiX > 96) { var font = new Font(styleController.Appearance.Font.FontFamily, styleController.Appearance.Font.Size - 2, styleController.Appearance.Font.Style); styleController.Appearance.Font = font; styleController.AppearanceDisabled.Font = font; styleController.AppearanceDropDown.Font = font; styleController.AppearanceDropDownHeader.Font = font; styleController.AppearanceFocused.Font = font; styleController.AppearanceReadOnly.Font = font; } }
public void Release() { _bundleItem = null; }