1. Add GlacialList.dll to project. 2. Drag the GlacialList.dll to toolbox. 3. Drag the GlacialList control to the window form. 4. Add reference to the code file using GlacialComponents.Controls; 5. Example code GlacialList mylist = new GlacialList(); GLColumn column = this.glacialList1.Columns.Add("Column1", 100); // this can also be added // through the design time support GLColumn column1 = this.glacialList1.Columns.Add("Column2", 100); this.glacialList1.Columns.Add("Column3", 100); this.glacialList1.Columns.Add("Column4", 100); column.ActivatedEmbeddedType = GLActivatedEmbeddedTypes.ComboBox; column1.CheckBoxes=true; GLItem item; item = this.glacialList1.Items.Add("Atlanta Braves"); //item.SubItems[0]. item.SubItems[1].Text = "8v"; item.SubItems[0].Tag = new string[] { "8v", "7v", "6v", "5v", "Atlanta Braves" }; item.SubItems[2].Text = "Live"; item.SubItems[2].BackColor = Color.Bisque; item.SubItems[3].Text = "MLB.TV"; item = this.glacialList1.Items.Add("Florida Marlins"); item.SubItems[1].Text = ""; item.SubItems[2].Text = "Delayed"; item.SubItems[2].BackColor = Color.LightCoral; item.SubItems[3].Text = "Audio"; item.SubItems[1].BackColor = Color.Aqua; // set the background // of this particular subitem ONLY //item.UserObject = myownuserobjecttype; // set a private user object item.Selected = true; // set this item to selected state
2012年11月29日 星期四
GlacialList.dll note
Labels:
C#
在文字的世界裡尋找心靈的共鳴,遠山藍以溫柔的筆觸分享書籍的力量與生活的智慧。無論是細膩的書評、深刻的人生感悟,還是技術與創新的新奇發現,每篇文章都是一次內心的療癒旅程。希望透過閱讀,帶領讀者在忙碌的生活中找到一片寧靜與啟發。讓我們一起,在書香中遇見更好的自己!
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言