Developer, Former MVP, now at Microsoft - Best of 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
InputPanel
namespace Microsoft.WindowsCE.Forms { public class InputPanel { public event EventHandler EnabledChanged; private bool mDummy; public bool Enabled { get { return mDummy; } set { mDummy = value;} } }}
namespace YourNamespace { public static class TheCursor { public static void CursorCurrent(Control c, Cursor defaultOrWait) {#if FULL_FRAME if (c != null) { c.Cursor = defaultOrWait; }#else Cursor.Current = defaultOrWait;#endif } }}
Cursor.Current = Cursors.Default
Cursor.Current = Cursors.WaitCursor
TheCursor.CursorCurrent(this, Cursors.Default)
TheCursor.CursorCurrent(this, Cursors.WaitCursor)
Cursor.Current
this
null
someControlOrFormEtc.Current = Cursors.Default
someControlOrFormEtc.Current = Cursors.WaitCursor
TheCursor.CursorCurrent(someControlOrFormEtc, Cursors.Default)
TheCursor.CursorCurrent(someControlOrFormEtc, Cursors.WaitCursor)