public FloatingScaleControl() { InitializeComponent(); _backgroundGlue = new BackgroundControlsGlue { CbStyle = _guiBackgroundStyle, CbBrush = _guiBackgroundBrush }; }
public AxisLabelStyleControl() { InitializeComponent(); _backgroundGlue = new BackgroundControlsGlue(); _backgroundGlue.CbBrush = _cbBackgroundBrush; _backgroundGlue.CbStyle = _cbBackgroundStyle; _fontGlue = new GdiFontGlue(); _fontGlue.GuiFontFamily = m_cbFontFamily; _fontGlue.GuiFontStyle = m_cbFontStyle; _fontGlue.GuiFontSize = m_cbFontSize; }
public TextGraphicControl() { InitializeComponent(); _backgroundGlue = new BackgroundControlsGlue { CbStyle = _cbBackgroundStyle, CbBrush = _cbBackgroundBrush }; _backgroundGlue.BackgroundStyleChanged += new EventHandler(EhBackgroundStyleChanged); _backgroundGlue.BackgroundBrushChanged += new EventHandler(EhBackgroundStyleChanged); _previewBitmap = new GdiToWpfBitmap(16, 16); m_pnPreview.Source = _previewBitmap.WpfBitmap; }
public AxisLabelStyleControl() { InitializeComponent(); _backgroundGlue = new BackgroundControlsGlue { CbBrush = _cbBackgroundBrush, CbStyle = _cbBackgroundStyle }; _fontGlue = new GdiFontGlue { GuiFontFamily = m_cbFontFamily, GuiFontStyle = m_cbFontStyle, GuiFontSize = m_cbFontSize }; }
public LabelPlotStyleControl() { InitializeComponent(); DefaultSeverityColumnColors.NormalColor = _guiLabelColumn.Background; _fontControlsGlue = new FontXControlsGlue() { CbFontFamily = _cbFontFamily, CbFontStyle = _cbFontStyle }; _backgroundGlue = new BackgroundControlsGlue() { CbStyle = _cbBackgroundStyle, CbBrush = _cbBackgroundBrush }; _backgroundGlue.BackgroundStyleChanged += EhBackgroundStyleInstanceChanged; _backgroundGlue.BackgroundBrushChanged += EhBackgroundBrushChanged; }