Ejemplo n.º 1
0
        public FloatingScaleControl()
        {
            InitializeComponent();

            _backgroundGlue = new BackgroundControlsGlue
            {
                CbStyle = _guiBackgroundStyle,
                CbBrush = _guiBackgroundBrush
            };
        }
Ejemplo n.º 2
0
		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;
		}
Ejemplo n.º 3
0
        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;
        }
Ejemplo n.º 4
0
        public AxisLabelStyleControl()
        {
            InitializeComponent();
            _backgroundGlue = new BackgroundControlsGlue
            {
                CbBrush = _cbBackgroundBrush,
                CbStyle = _cbBackgroundStyle
            };

            _fontGlue = new GdiFontGlue
            {
                GuiFontFamily = m_cbFontFamily,
                GuiFontStyle  = m_cbFontStyle,
                GuiFontSize   = m_cbFontSize
            };
        }
Ejemplo n.º 5
0
        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;
        }