<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating a pocket pc iPhone style picture button for the .NET compact framework</title>
	<atom:link href="http://www.dbws.net/blog/2007/12/07/creating-a-pocket-pc-iphone-style-picture-button-for-the-net-compact-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dbws.net/blog/2007/12/07/creating-a-pocket-pc-iphone-style-picture-button-for-the-net-compact-framework/</link>
	<description>Software development mutterings and maybe a little something about myself.</description>
	<lastBuildDate>Tue, 05 Apr 2011 10:26:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: duy</title>
		<link>http://www.dbws.net/blog/2007/12/07/creating-a-pocket-pc-iphone-style-picture-button-for-the-net-compact-framework/#comment-23329</link>
		<dc:creator>duy</dc:creator>
		<pubDate>Fri, 07 Nov 2008 03:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbws.net/blog/?p=14#comment-23329</guid>
		<description>It&#039;s very useful. thank you very much(sorry about my english)</description>
		<content:encoded><![CDATA[<p>It&#8217;s very useful. thank you very much(sorry about my english)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pandia</title>
		<link>http://www.dbws.net/blog/2007/12/07/creating-a-pocket-pc-iphone-style-picture-button-for-the-net-compact-framework/#comment-14343</link>
		<dc:creator>Pandia</dc:creator>
		<pubDate>Thu, 19 Jun 2008 12:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbws.net/blog/?p=14#comment-14343</guid>
		<description>how to load the image inthe picturebox at run time in PDA application.
my code
picture1.Image = New Bitmap(Assembly.GetExecutingAssembly().GetManifestResourceStream(&quot;Resources.MenuItem.I103.jpg&quot;))
but nullreferenceexpection have came.
what i do.
please clear solution.
my another Email:pandian602@yahoo.com
send it</description>
		<content:encoded><![CDATA[<p>how to load the image inthe picturebox at run time in PDA application.<br />
my code<br />
picture1.Image = New Bitmap(Assembly.GetExecutingAssembly().GetManifestResourceStream(&#8220;Resources.MenuItem.I103.jpg&#8221;))<br />
but nullreferenceexpection have came.<br />
what i do.<br />
please clear solution.<br />
my another Email:pandian602@yahoo.com<br />
send it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M. Denzer</title>
		<link>http://www.dbws.net/blog/2007/12/07/creating-a-pocket-pc-iphone-style-picture-button-for-the-net-compact-framework/#comment-7482</link>
		<dc:creator>M. Denzer</dc:creator>
		<pubDate>Mon, 31 Mar 2008 08:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbws.net/blog/?p=14#comment-7482</guid>
		<description>Thanks for this helpful tutorial!
How can I make the usercontrol transparent? I want to add a &lt;b&gt;transparent PNG&lt;/b&gt; and it would be great I could see the background of the test application.
I have already search for &quot;transparent PictureBox&quot; but I think, it is not easy to implement :-(
Thank you very much for your help!</description>
		<content:encoded><![CDATA[<p>Thanks for this helpful tutorial!<br />
How can I make the usercontrol transparent? I want to add a <b>transparent PNG</b> and it would be great I could see the background of the test application.<br />
I have already search for &#8220;transparent PictureBox&#8221; but I think, it is not easy to implement <img src='http://www.dbws.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
Thank you very much for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K</title>
		<link>http://www.dbws.net/blog/2007/12/07/creating-a-pocket-pc-iphone-style-picture-button-for-the-net-compact-framework/#comment-7186</link>
		<dc:creator>K</dc:creator>
		<pubDate>Tue, 25 Mar 2008 13:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbws.net/blog/?p=14#comment-7186</guid>
		<description>I solved the problem. The generated InitializeComponent code neglected to subscribe to those methods for the events. Adding the following in the control constructor fixed the problem. 

this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
 
this.pictureBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseDown);

this.pictureBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseUp);

this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PictureButtonControl_MouseDown);

this.Resize += new System.EventHandler(this.PictureButtonControl_Resize);

this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PictureButtonControl_MouseUp);</description>
		<content:encoded><![CDATA[<p>I solved the problem. The generated InitializeComponent code neglected to subscribe to those methods for the events. Adding the following in the control constructor fixed the problem. </p>
<p>this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);</p>
<p>this.pictureBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseDown);</p>
<p>this.pictureBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseUp);</p>
<p>this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PictureButtonControl_MouseDown);</p>
<p>this.Resize += new System.EventHandler(this.PictureButtonControl_Resize);</p>
<p>this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PictureButtonControl_MouseUp);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.dbws.net/blog/2007/12/07/creating-a-pocket-pc-iphone-style-picture-button-for-the-net-compact-framework/#comment-7183</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 25 Mar 2008 12:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbws.net/blog/?p=14#comment-7183</guid>
		<description>There shouldnt be any modification required, ensure you are raising events of the ImageButton when the event is fired on the PictureBox.

&lt;code&gt;
private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
	{
		this.OnMouseDown(e);
	}

	private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
	{
		this.OnMouseUp(e);
	}

	private void pictureBox1_Click(object sender, EventArgs e)	{		
        this.OnClick(e);	
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>There shouldnt be any modification required, ensure you are raising events of the ImageButton when the event is fired on the PictureBox.</p>
<p><code><br />
private void pictureBox1_MouseDown(object sender, MouseEventArgs e)<br />
	{<br />
		this.OnMouseDown(e);<br />
	}</p>
<p>	private void pictureBox1_MouseUp(object sender, MouseEventArgs e)<br />
	{<br />
		this.OnMouseUp(e);<br />
	}</p>
<p>	private void pictureBox1_Click(object sender, EventArgs e)	{<br />
        this.OnClick(e);<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K</title>
		<link>http://www.dbws.net/blog/2007/12/07/creating-a-pocket-pc-iphone-style-picture-button-for-the-net-compact-framework/#comment-7179</link>
		<dc:creator>K</dc:creator>
		<pubDate>Tue, 25 Mar 2008 11:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbws.net/blog/?p=14#comment-7179</guid>
		<description>What changes are needed to the iPhone picture style button code for it to work on a Windows CE 5.0 device? Although the code builds and runs on that device, the control mouse down and up methods are never invoked but the constructor is invoked. The Form click method for the control is called upon selection of the label however. The Form method click is never called upon clicking the picture box.</description>
		<content:encoded><![CDATA[<p>What changes are needed to the iPhone picture style button code for it to work on a Windows CE 5.0 device? Although the code builds and runs on that device, the control mouse down and up methods are never invoked but the constructor is invoked. The Form click method for the control is called upon selection of the label however. The Form method click is never called upon clicking the picture box.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

