Ejemplo n.º 1
0
        // Constructor
        public HBarChart()
        {
            // Designer
            InitializeComponent();

            description = new CDescriptionProperty();
            label       = new CLabelProperty();
            values      = new CValueProperty();
            background  = new CBackgroundProperty();

            // Initialize members
            nBarWidth = 24;
            nBarsGap  = 4;

            SizingMode = BarSizingMode.Normal;

            //fontTooltip = new Font("Verdana", 12);

            bars = new HItems();

            bmpBackBuffer = null;

            tooltip              = new ToolTip();
            tooltip.IsBalloon    = true;
            tooltip.ShowAlways   = true;
            tooltip.InitialDelay = 0;
            tooltip.ReshowDelay  = 0;
            tooltip.AutoPopDelay = Int16.MaxValue;
        }
Ejemplo n.º 2
0
 public void SaveObject()
 {
     m_clone         = new CValueProperty();
     m_clone.Visible = this.Visible;
     m_clone.Font    = this.Font;
     m_clone.Color   = this.Color;
     m_clone.Mode    = this.Mode;
 }