private void CreateWordCloud() { this.m_WordCloud = new TdlCloudControl(); this.m_WordCloud.Location = new System.Drawing.Point(0, ControlTop); this.m_WordCloud.Size = new System.Drawing.Size(798, 328); this.Controls.Add(m_WordCloud); }
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 }