public GaugeFrameCircularRenderer(GaugeFrame gaugeFrame)
     : base(gaugeFrame)
 {
 }
Exemple #2
0
        public GaugeControl()
        {
            // Initialize our control

            InitializeComponent();

            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.ResizeRedraw, true);
            SetStyle(ControlStyles.StandardDoubleClick, true);
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
            SetStyle(ControlStyles.SupportsTransparentBackColor, true);
            SetStyle(ControlStyles.Selectable, true);

            _Frame = new GaugeFrame(this);

            _CircularScales = new GaugeCircularScaleCollection();
            _LinearScales = new GaugeLinearScaleCollection();
            _GaugeItems = new GaugeItemCollection();

            _ToolTip = new ToolTip();
            _ShowToolTips = true;
            _AntiAlias = true;

            NeedRecalcLayout = true;

            HookEvents(true);
        }
 public GaugeFrameRectangularRenderer(GaugeFrame gaugeFrame)
     : base(gaugeFrame)
 {
 }
 protected GaugeFrameRenderer(GaugeFrame gaugeFrame)
 {
     _GaugeFrame = gaugeFrame;
 }
 public GaugeFrameRoundRectRenderer(GaugeFrame gaugeFrame)
     : base(gaugeFrame)
 {
 }