Windows Phone Developers

Saturday, March 7, 2009

Argument '1': cannot convert from 'int' to 'System.Windows.Forms.ListViewItem.ListViewSubItem'

The best overloaded method match for 'System.Windows.Forms.ListViewItem.ListViewSubItemCollection.Add(System.Windows.Forms.ListViewItem.ListViewSubItem)' has some invalid arguments

ListViewItem lView = new ListViewItem() ;

lView.SubItems.Add(36);

lView.SubItems.Add("36");

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

How to Set the Control’s background to system colors

Here is a way to use the available default system colors like control, button face etc using C#

listView1.BackColor = System.Drawing.SystemColors.ControlDark;



Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon