[Windows Mobile Software Development] ebernazz2:
Lets take a different approach....

Here is a simple way for people who are new and want to try and use this SDK without using the toolbox.

Since we have C# examples and some want VB.NET I will use that. It will be very basic to get you started.

Start a new VB.NET project of type VISUAL BASIC - SMART DEVICE - SMART DEVICE PROJECT. Give it a name and make sure you have selected .NET Framework 3.5. On the next screen you should select Windows Mobile 6 Professional SDK and again make sure 3.5 CF. You now have a form (looks like a phone). Double click the blank part of the form and you open up the code for form1. Here is what your code needs to look like:

Imports System
Imports System.Drawing
Imports System.Globalization
Imports System.IO
Imports System.Reflection
Imports System.Windows.Forms
Imports Microsoft.Drawing

Public Class Form1
Dim senseHeaderCtrl As New StedySoft.SenseSDK.SenseHeaderControl()
Dim senseListCtrl As New StedySoft.SenseSDK.SenseListControl()

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
senseHeaderCtrl.Dock = System.Windows.Forms.DockStyle.Top
senseHeaderCtrl.Location = New System.Drawing.Point(0, 0)
senseHeaderCtrl.Name = "senseHeaderCtrl"
senseHeaderCtrl.Size = New System.Drawing.Size(240, 25)
senseHeaderCtrl.TabIndex = 0
senseHeaderCtrl.Text = "SenseSDK Demo"

senseListCtrl.Dock = System.Windows.Forms.DockStyle.Fill
senseListCtrl.IsSecondaryScrollType = False
senseListCtrl.Location = New System.Drawing.Point(0, 25)
senseListCtrl.MinimumMovement = 15
senseListCtrl.Name = "senseListCtrl"
senseListCtrl.ShowScrollIndicator = True
senseListCtrl.Size = New System.Drawing.Size(240, 243)
senseListCtrl.Springback = 0.35
senseListCtrl.TabIndex = 1
senseListCtrl.ThreadSleep = 100
senseListCtrl.TopIndex = 0
senseListCtrl.Velocity = 0.9

Me.Controls.Add(senseListCtrl)
Me.Controls.Add(senseHeaderCtrl)

senseListCtrl.BeginUpdate()

senseListCtrl.AddItem(New StedySoft.SenseSDK.SensePanelDividerItem("DividerItem1", "Panel Items with Thumbnail"))
senseListCtrl.AddItem(New StedySoft.SenseSDK.SensePanelDividerItem("DividerItem2", "Panel Items with Thumbnail 2"))

Dim itm As StedySoft.SenseSDK.SensePanelItem

itm = New StedySoft.SenseSDK.SensePanelItem("PanelItem1")
itm.ButtonAnimation = True
itm.PrimaryText = String.Format("Primary Text")
itm.SecondaryText = String.Format("This is the Secondary Text")
senseListCtrl.AddItem(itm)

itm = New StedySoft.SenseSDK.SensePanelItem("PanelItem2")
itm.ButtonAnimation = True
itm.PrimaryText = String.Format("Primary Text 2")
senseListCtrl.AddItem(itm)

senseListCtrl.AddItem(New StedySoft.SenseSDK.SensePanelDividerItem("DividerItem3", "Panel Items with On/Off Switch"))
Dim itm2 = New StedySoft.SenseSDK.SensePanelOnOffItem
itm2 = New StedySoft.SenseSDK.SensePanelOnOffItem("OnOffItem1")
itm2.ButtonAnimation = True
itm2.ProcessEntireButton = False
itm2.PrimaryText = String.Format("Primary Text")
itm2.Enabled = True
itm2.Status = StedySoft.SenseSDK.ItemStatus.Off
'itm.OnStatusChanged += new SensePanelOnOffItem.StatusEventHandler(OnOnOffItemStatusChanged);
'itm.OnClick += new SensePanelOnOffItem.ClickEventHandler(OnClickGeneric);
senseListCtrl.AddItem(itm2)

senseListCtrl.EndUpdate()

End Sub
End Class

Now make sure you have a reference to this SDK (PROJECT - ADD REFERENCE - BROWSE and go find where you downloaded STEDYSOFT.SENSESDK.DLL).

Run it and you should have a basic working sample without ever needing the toolbox to create the List Control.

Eric