コード例 #1
0
        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;
        }
コード例 #2
0
 public void SaveObject()
 {
     m_clone         = new CDescriptionProperty();
     m_clone.Text    = this.Text;
     m_clone.Visible = this.Visible;
     m_clone.Font    = this.Font;
     m_clone.Colour  = this.Colour;
 }