<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>xinyan's WebLog</title><link>http://blogs.msdn.com/xinyan/default.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>web cast link and source code</title><link>http://blogs.msdn.com/xinyan/archive/2005/11/10/491420.aspx</link><pubDate>Thu, 10 Nov 2005 21:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:491420</guid><dc:creator>xinyan</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/xinyan/comments/491420.aspx</comments><wfw:commentRss>http://blogs.msdn.com/xinyan/commentrss.aspx?PostID=491420</wfw:commentRss><description>&lt;P&gt;The link to my web cast on custom control in Visual Studio for devices is:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"&gt;&lt;A title=http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032284322&amp;amp;Culture=en-US href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032284322&amp;amp;Culture=en-US"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032284322&amp;amp;Culture=en-US&lt;/A&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;and you can get the source code used in the demo from: &lt;A href="http://www.msnusers.com/xinyanblog/Documents/CustomControlWalkThrough.zip"&gt;http://www.msnusers.com/xinyanblog/Documents/CustomControlWalkThrough.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Xin&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=491420" width="1" height="1"&gt;</description></item><item><title>up-coming web cast</title><link>http://blogs.msdn.com/xinyan/archive/2005/10/31/487342.aspx</link><pubDate>Mon, 31 Oct 2005 19:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:487342</guid><dc:creator>xinyan</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/xinyan/comments/487342.aspx</comments><wfw:commentRss>http://blogs.msdn.com/xinyan/commentrss.aspx?PostID=487342</wfw:commentRss><description>&lt;P&gt;I will present a web-cast on how to create custom control in Visual Studio 2005. The link is:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032284322&amp;amp;EventCategory=4&amp;amp;culture=en-US&amp;amp;CountryCode=US"&gt;http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032284322&amp;amp;EventCategory=4&amp;amp;culture=en-US&amp;amp;CountryCode=US&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;See you there!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=487342" width="1" height="1"&gt;</description></item><item><title>how to trouble shoot custom control design-time issues </title><link>http://blogs.msdn.com/xinyan/archive/2005/10/26/485306.aspx</link><pubDate>Wed, 26 Oct 2005 22:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:485306</guid><dc:creator>xinyan</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/xinyan/comments/485306.aspx</comments><wfw:commentRss>http://blogs.msdn.com/xinyan/commentrss.aspx?PostID=485306</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;When doing custom control development, here are some frequent design-time issues:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;1. &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Why my custom controls are added to the form designer as an empty box?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Most likely your custom control is device specific (the assembly that your custom control resides uses P/Invoke, or references another assembly that uses P/Invoke). In Visual Studio 2005 .net Compact Framework designer, once we detected a custom control is device specific, it will be replaced with an empty box because this custom control is regarded as dangerous to be created in the design-time (Creating this custom control in design-time may cause P/Invoke code to be executed. Most of the P/Invoke calls are specific to WinCE OS, and will fail during design-time.). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;If your custom control is safe to be created in design-time, you will need to add “DesktopCompatibility” design-time attribute on this custom control to mark is to be desktop compatible. You can take a look at the links to my&amp;nbsp;previous blog&amp;nbsp;on how to do it. It’s&amp;nbsp;pretty easy.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;2. &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Why some properties are missing in the property browser?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Same as 1). Try adding “DesktopCompatible” design-time attribute.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;3. Why my design-time components, such as designer, editor or type converter are not being used in design-time?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;There could be many reasons for this. For example, the design-time assembly can not be loaded, or the design-time components throws exceptions. Debugger will help you to figure this out. Attaching debugger is a relative straight forward step.&amp;nbsp;First, s&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;tart another Visual Studio instance, select “Tools / Attach to process” menu, set the code type to “Common Language Runtime”. This will enable you to debug managed code. If the code you want to debug involves both managed and native code, you can check both “&lt;I style="mso-bidi-font-style: normal"&gt;Common Language Runtime&lt;/I&gt;” and “&lt;I style="mso-bidi-font-style: normal"&gt;Native&lt;/I&gt;” to enable both managed and native debugging.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal dir=ltr style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Once the debugger is attached, you can browse to your source code and set break points. If the corresponding module hasn’t been loaded yet, the break points will appear to be disabled. This is ok. The debugger will automatically enable them once the module is loaded. If not, check Tools\Options page, select "Debugging" on the left side and uncheck "Enable Just My Code (Managed only)" option.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal dir=ltr style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;In many cases you will need to debug why exception happens. All you need is to attach the debugger before the exception and set the debugger to catch any exceptions being thrown. To do this, select “Debug\Exceptions” from the menu and&amp;nbsp;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-fareast-language: ZH-TW; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-language: AR-SA"&gt;check the specific exceptions you want to catch. Often I started with catching every managed exception. Once I know what exception it is, I can narrow the scope of the catching to that one.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal dir=ltr style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-fareast-language: ZH-TW; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-fareast-font-family: PMingLiU; mso-fareast-language: ZH-TW; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;After attaching the debugger and setting up exception catching, run your test scenario and it will break into debugger once an exception is thrown. Remember, some exceptions are expected (Visual Studio itself uses exceptions internally to communicate success / failure status). So be sure to locate the right exception you want to debug.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=485306" width="1" height="1"&gt;</description></item><item><title>some resources on smart device custom control </title><link>http://blogs.msdn.com/xinyan/archive/2005/08/08/449257.aspx</link><pubDate>Tue, 09 Aug 2005 04:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:449257</guid><dc:creator>xinyan</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/xinyan/comments/449257.aspx</comments><wfw:commentRss>http://blogs.msdn.com/xinyan/commentrss.aspx?PostID=449257</wfw:commentRss><description>&lt;P&gt;In the past few months I gave a talk in MEDC 2005, did a web cast in MSDN and wrote an article in sys-con.com. All these are about creating custom controls for .Net Compact Fraemwork in Visual Studio 2005. The following topics are coverred:&lt;/P&gt;
&lt;P&gt;- Why you need design-time attributes?&lt;/P&gt;
&lt;P&gt;- How to add design-time attributes to custom control?&lt;/P&gt;
&lt;P&gt;- What is design-time metadata assemblies?&lt;/P&gt;
&lt;P&gt;- What are the cool things you can do to your custom control by using design-time attributes?&lt;/P&gt;
&lt;P&gt;The link to my demo code and walk-through document can be found here: &lt;a href="http://blogs.msdn.com/vsdteam/archive/2005/07/20/Amit_Chopra.aspx"&gt;http://blogs.msdn.com/vsdteam/archive/2005/07/20/Amit_Chopra.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The link to my article on sys-con.com can be found here: &lt;A href="http://symbian.sys-con.com/read/113332.htm"&gt;http://symbian.sys-con.com/read/113332.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Xin&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=449257" width="1" height="1"&gt;</description></item><item><title>Toolbox in Whidbey SmartDevice applications</title><link>http://blogs.msdn.com/xinyan/archive/2005/01/26/361158.aspx</link><pubDate>Thu, 27 Jan 2005 03:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:361158</guid><dc:creator>xinyan</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/xinyan/comments/361158.aspx</comments><wfw:commentRss>http://blogs.msdn.com/xinyan/commentrss.aspx?PostID=361158</wfw:commentRss><description>&lt;p&gt;Whidbey SmartDevice WinForm designer has much better support for adding your custom control to the toolbox. Unlike Everret (Visual Studio 2003) that requires developer to create a design time assembly in addition to the&amp;nbsp;runtime assembly, in Whidbey we eliminated the need for design time assembly completely. &lt;/p&gt; &lt;p&gt;Add your custom control type to the toolbox? There are 2 ways:&lt;/p&gt; &lt;p&gt;1. Simply build your project that contains UserControl, custom component&amp;nbsp;or&amp;nbsp;custom control. It will show up in the toolbox automatically and ready to be dropped to the designer.&lt;/p&gt; &lt;p&gt;2. From toolbox window, select "Choose Items" and browse to the assembly containing the custom control. After clicking OK, the types from the assembly you choose will be added to the toolbox. &lt;/p&gt; &lt;p&gt;Note controls / components compiled against .Net Compact Framework v1.0 will only show up in projects targetting .Net Compact Framework v1.0. Controls / components compiled against .Net Compact Framework v2.0 will only show up for projects targeting .net Compact Framework v2.0. &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=361158" width="1" height="1"&gt;</description></item><item><title>Whidbey Beta 1 is on the way!</title><link>http://blogs.msdn.com/xinyan/archive/2004/06/13/154462.aspx</link><pubDate>Sun, 13 Jun 2004 07:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:154462</guid><dc:creator>xinyan</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/xinyan/comments/154462.aspx</comments><wfw:commentRss>http://blogs.msdn.com/xinyan/commentrss.aspx?PostID=154462</wfw:commentRss><description>&lt;P&gt;After couple of months intense work, we are almost done with Whidbey Beta 1. Check out these new features related to smart device programing!&lt;/P&gt;
&lt;P&gt;- Create C#/VB.Net for Pocket PC 2003 and Windows CE (target .Net Compact Framework V2.0) and SmartPhone 2003 (target .Net Compact Framework V1.0).&lt;/P&gt;
&lt;P&gt;- Better managed designer support. Controls are now WYSIWYG with device specific appearance. Custom control, inheritted form and user control are supported.&lt;/P&gt;
&lt;P&gt;- Platform switching and unsupported control conversion. You can switch the project between platforms. Designer will help you detect and convert controls that are not unsupported on a platform.&lt;/P&gt;
&lt;P&gt;Stay tuned!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=154462" width="1" height="1"&gt;</description></item><item><title>another tip - creating a maximized form on Pocket PC</title><link>http://blogs.msdn.com/xinyan/archive/2004/02/08/69856.aspx</link><pubDate>Mon, 09 Feb 2004 07:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:69856</guid><dc:creator>xinyan</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/xinyan/comments/69856.aspx</comments><wfw:commentRss>http://blogs.msdn.com/xinyan/commentrss.aspx?PostID=69856</wfw:commentRss><description>&lt;P&gt;Do you know how to create a&amp;nbsp;maximized form (a form without title and occupies the whole screen area) in a Pocket PC application using .Net Compact Framework 1.1? &lt;/P&gt;
&lt;P&gt;There are couple properties you need to set to get it work. First, make sure the following properties are set inside InitializeComponent() or form's constructor:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; form.Menu = null;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; form.FormBorderStyle = FormBorderStyle.None;&lt;/P&gt;
&lt;P&gt;Secondly, in form.Load event handler, set form.WindowState&amp;nbsp;= FormWindowState.Maximized&lt;/P&gt;
&lt;P&gt;This will give you a maximized form. Here is sample code:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;class&lt;/FONT&gt;&lt;FONT size=2&gt; Form1 : System.Windows.Forms.Form&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;public&lt;/FONT&gt;&lt;FONT size=2&gt; Form1()&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#008000 size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;InitializeComponent();&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#008000 size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#808080 size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;protected&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;override&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; Dispose( &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;bool&lt;/FONT&gt;&lt;FONT size=2&gt; disposing )&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;base&lt;/FONT&gt;&lt;FONT size=2&gt;.Dispose( disposing );&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;#region&lt;/FONT&gt;&lt;FONT size=2&gt; Windows Form Designer generated code&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#808080 size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;private&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; InitializeComponent()&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT color=#008000 size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.Text = "Form1";&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.Load += &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; System.EventHandler(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.Form1_Load);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;#endregion&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;private&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; Form1_Load(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;object&lt;/FONT&gt;&lt;FONT size=2&gt; sender, System.EventArgs e)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;this&lt;/FONT&gt;&lt;FONT size=2&gt;.WindowState = FormWindowState.Maximized;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=69856" width="1" height="1"&gt;</description></item><item><title>Tip of the day</title><link>http://blogs.msdn.com/xinyan/archive/2004/02/02/66035.aspx</link><pubDate>Mon, 02 Feb 2004 09:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:66035</guid><dc:creator>xinyan</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/xinyan/comments/66035.aspx</comments><wfw:commentRss>http://blogs.msdn.com/xinyan/commentrss.aspx?PostID=66035</wfw:commentRss><description>&lt;P&gt;Are you developing Pocket PC application using .Net Compact Framework 1.0? If so, do you know how to enable or disable the smart minimize button on a form?&lt;/P&gt;
&lt;P&gt;By default, a form will use the smart minize button ( the X button). This button doesn't close the form but minimizes it.&amp;nbsp;If you disable&amp;nbsp;the&amp;nbsp;smart minimize button, the OK button will be shown. Once you click it, your form will be closed.&lt;/P&gt;
&lt;P&gt;In .Net Compact Framework, smart minimize button is controled by Form.MinimizeBox property. Setting it to true (default) will enable the smart minimize button, means clicking it will minimize the form. Setting it to false will disable smart minimize button, means clicking it will close the form.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=66035" width="1" height="1"&gt;</description></item><item><title>Blog #1</title><link>http://blogs.msdn.com/xinyan/archive/2004/02/02/66032.aspx</link><pubDate>Mon, 02 Feb 2004 09:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:66032</guid><dc:creator>xinyan</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/xinyan/comments/66032.aspx</comments><wfw:commentRss>http://blogs.msdn.com/xinyan/commentrss.aspx?PostID=66032</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Tahoma&gt;Hi, I am a developer in Visual Studio for Smart Devices team. I am working on managed designers -&amp;nbsp;platform specific&amp;nbsp;design time support for windows form controls and&amp;nbsp;designer extensibility support are my main focus area.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma&gt;We have been working very hard for the last year to prepare for our next release. There are tons of excting new features and I eager to show&amp;nbsp;them off.&amp;nbsp;Stay tuned for&amp;nbsp;MDC 2004 (&lt;A href="http://www.microsoftmdc.com/"&gt;http://www.microsoftmdc.com/&lt;/A&gt;)!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma&gt;While working on the next release, I am also very interested to hear from customers who have been using Visual Studio 7.1. Let us know what you like and what you don't and we will make the next release a great tool for you!&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=66032" width="1" height="1"&gt;</description></item></channel></rss>