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)
沒有留言:
張貼留言