private void CreateWordCloud()
        {
            m_WordCloud = new TdlCloudControl(this.Handle, m_Trans);

            m_WordCloud.Location   = new Point(0, ControlTop);
            m_WordCloud.Size       = new Size(100, 100);
            m_WordCloud.Cursor     = Cursors.Default;
            m_WordCloud.LayoutType = Gma.CodeCloud.Controls.LayoutType.Spiral;

            this.Controls.Add(m_WordCloud);

            m_WordCloud.SelectionChange += new SelectionChangeEventHandler(OnWordSelectionChanged);
            m_WordCloud.MouseClick      += new MouseEventHandler(OnWordCloudMouseClick);

            m_WordCloud.SetFont(FontName, 10); // default
        }
        public void SetTaskFont(String faceName, int pointSize)
        {
            m_WordCloud.SetFont(faceName, pointSize);

            m_TaskMatchesList.Font = new Font(faceName, pointSize);
        }
Пример #3
0
 public void SetTaskFont(String faceName, int pointSize)
 {
     m_WordCloud.SetFont(faceName, pointSize);
 }