﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-polarlm.net-最新评论</title><link>http://www.cnblogs.com/polarlm/CommentsRSS.aspx</link><description>&lt;img src="http://msig.info/web2v2/(reflect)polarlm%27s+.net+worldBETA.png"</description><language>zh-cn</language><pubDate>Mon, 31 May 2004 09:18:01 GMT</pubDate><lastBuildDate>Mon, 31 May 2004 09:18:01 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 初学Attribute（一个简单实例）</title><link>http://www.cnblogs.com/polarlm/archive/2007/12/20/5441.html#1006779</link><dc:creator>Sawyer</dc:creator><author>Sawyer</author><pubDate>Thu, 20 Dec 2007 02:18:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2007/12/20/5441.html#1006779</guid><description><![CDATA[Re:<br>&quot;但是特性到底有什么用，这个问题一直困扰着我！除了给一些类以特别的信息之外还有什么用？&quot;<br><br>在《Effective C#》里提到，可以自定义一些Attribute，对类使用这个特性可以使所有存储这个类对象的容器，如List&lt;&gt;什么的自动对对象们排序。甚至可以决定按照类的哪个属性进行排序。<br><br>它的好处是一次定义之后可以无限使用，极大的避免了repeat coding,而且能够减少error prone<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">Sawyer</a> 2007-12-20 10:18 <a href="http://www.cnblogs.com/polarlm/archive/2007/12/20/5441.html#1006779#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 为什么像ComoBox，ListBox这类控件的SelectedIndex不能在可视化编程环境设置？</title><link>http://www.cnblogs.com/polarlm/archive/2007/04/26/5350.html#728575</link><dc:creator>奇才</dc:creator><author>奇才</author><pubDate>Thu, 26 Apr 2007 09:23:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2007/04/26/5350.html#728575</guid><description><![CDATA[因为只有这样才能体现下拉列表和组合框的灵活性。<br>   这都不知道<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">奇才</a> 2007-04-26 17:23 <a href="http://www.cnblogs.com/polarlm/archive/2007/04/26/5350.html#728575#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 请教关于SharpReader</title><link>http://www.cnblogs.com/polarlm/archive/2004/09/12/5326.html#42385</link><dc:creator>xie108</dc:creator><author>xie108</author><pubDate>Sun, 12 Sep 2004 08:22:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2004/09/12/5326.html#42385</guid><description><![CDATA[采用&nbsp;&nbsp;&nbsp;网文快捕&nbsp;&nbsp;可以保存网页<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">xie108</a> 2004-09-12 16:22 <a href="http://www.cnblogs.com/polarlm/archive/2004/09/12/5326.html#42385#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 请教关于SharpReader</title><link>http://www.cnblogs.com/polarlm/archive/2004/04/24/5326.html#7442</link><dc:creator>wangxh1000</dc:creator><author>wangxh1000</author><pubDate>Sat, 24 Apr 2004 02:36:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2004/04/24/5326.html#7442</guid><description><![CDATA[我用网文快捕webcatcher保存网页，挺好用的，: )<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">wangxh1000</a> 2004-04-24 10:36 <a href="http://www.cnblogs.com/polarlm/archive/2004/04/24/5326.html#7442#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 程序员的.NET时代——李洪根（本文首发于《CSDN开发高手》2003年第12期）</title><link>http://www.cnblogs.com/polarlm/archive/2004/04/24/5283.html#7440</link><dc:creator>wangxh1000</dc:creator><author>wangxh1000</author><pubDate>Sat, 24 Apr 2004 02:32:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2004/04/24/5283.html#7440</guid><description><![CDATA[没关系，: )，什么事情都要从头学起的<br>总是要从不不会到会，从不熟悉到熟悉，今天的polarlm可能就是明天的小春、dudu，：）<br>慢慢来好了<br><br>polarlm以后这样私人化的文章不要放到公共区就好了，否则管理者很难给大家解释论坛的定位的，具体的可以多看看dudu，还有几位大哥的blog，看多了，就知道了<br><br>希望大家学习进步，开心，: )<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">wangxh1000</a> 2004-04-24 10:32 <a href="http://www.cnblogs.com/polarlm/archive/2004/04/24/5283.html#7440#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于控件设计时的控制</title><link>http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5655</link><dc:creator>polarlm</dc:creator><author>polarlm</author><pubDate>Fri, 09 Apr 2004 12:31:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5655</guid><description><![CDATA[粘贴最终的解决方案<br>using System;<br>using System.Collections;<br>using System.ComponentModel;<br>using System.Drawing;<br>using System.Data;<br>using System.Windows.Forms;<br>using System.Windows.Forms.Design;<br>using System.ComponentModel.Design;<br><br>namespace ButtonDesignerDemo<br>{<br>	/// &lt;summary&gt;<br>	/// MyButton 的摘要说明。<br>	/// &lt;/summary&gt;<br>	[Designer(typeof(MyButton.MyButtonDesigner))]<br>	public class MyButton : System.Windows.Forms.Button<br>	{<br>		internal class MyButtonDesigner : ControlDesigner <br>		{<br>			<br>			protected override void OnMouseEnter() <br>			{ <br>				Control.BackColor = Color.Pink; <br>			}<br><br>			protected override void OnMouseLeave()<br>			{<br>				Control.BackColor = Color.Yellow;<br>			}<br>		}<br>		/// &lt;summary&gt; <br>		/// 必需的设计器变量。<br>		/// &lt;/summary&gt;<br>		private System.ComponentModel.Container components = null;<br><br>		public MyButton()<br>		{<br>			// 该调用是 Windows.Forms 窗体设计器所必需的。<br>			InitializeComponent();<br><br>			// TODO: 在 InitializeComponent 调用后添加任何初始化<br><br>		}<br><br>		/// &lt;summary&gt; <br>		/// 清理所有正在使用的资源。<br>		/// &lt;/summary&gt;<br>		protected override void Dispose( bool disposing )<br>		{<br>			if( disposing )<br>			{<br>				if(components != null)<br>				{<br>					components.Dispose();<br>				}<br>			}<br>			base.Dispose( disposing );<br>		}<br><br>		#region 组件设计器生成的代码<br>		/// &lt;summary&gt; <br>		/// 设计器支持所需的方法 - 不要使用代码编辑器 <br>		/// 修改此方法的内容。<br>		/// &lt;/summary&gt;<br>		private void InitializeComponent()<br>		{<br>			components = new System.ComponentModel.Container();<br>		}<br>		#endregion<br>	}<br>}<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">polarlm</a> 2004-04-09 20:31 <a href="http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5655#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于控件设计时的控制</title><link>http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5604</link><dc:creator>宝玉</dc:creator><author>宝玉</author><pubDate>Fri, 09 Apr 2004 05:27:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5604</guid><description><![CDATA[		protected override bool GetHitTest(Point point)<br>		{<br>			return true; <br>		}<br><br>		protected override void OnMouseEnter()<br>		{<br>			this.Control.BackColor = Color.Red;<br>		}<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">宝玉</a> 2004-04-09 13:27 <a href="http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5604#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于控件设计时的控制</title><link>http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5563</link><dc:creator>polarlm</dc:creator><author>polarlm</author><pubDate>Thu, 08 Apr 2004 17:17:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5563</guid><description><![CDATA[谢谢<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">polarlm</a> 2004-04-09 01:17 <a href="http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5563#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于控件设计时的控制</title><link>http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5557</link><dc:creator>ahnan</dc:creator><author>ahnan</author><pubDate>Thu, 08 Apr 2004 16:11:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5557</guid><description><![CDATA[<a target="_new" href="http://www.syncfusion.com/FAQ/WinForms/FAQ_c80c.asp">http://www.syncfusion.com/FAQ/WinForms/FAQ_c80c.asp</a><br><br>53.7 How do I get Mouse Messages on my Control during design-time?     <br><br><br>The design-time will forward the MouseEnter and MouseLeave messages to your Control by default. The MouseMove message are blocked by the designer. You can get MouseDown and Up messages in your Control if you override GetHitTest method in your designer and return true, as follows:<br><br><br>protected override /*ControlDesigner*/ bool GetHitTest(Point point) <br> <br>{ <br> <br>     if(this.NeedMouseDown(point)) <br> <br>          return true; <br> <br>     else <br> <br>          return false; <br> <br>} <br> <br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">ahnan</a> 2004-04-09 00:11 <a href="http://www.cnblogs.com/polarlm/archive/2004/04/09/5555.html#5557#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 初学Attribute（一个简单实例）</title><link>http://www.cnblogs.com/polarlm/archive/2004/04/08/5441.html#5488</link><dc:creator>polarlm.net</dc:creator><author>polarlm.net</author><pubDate>Thu, 08 Apr 2004 02:16:00 GMT</pubDate><guid>http://www.cnblogs.com/polarlm/archive/2004/04/08/5441.html#5488</guid><description><![CDATA[<P>to <A id=Comments1_CommentList__ctl4_NameLink HREF="/hBifTs" target=_blank><FONT color=#009933>hBifTs</FONT></A> :<IMG src="http://www.cnblogs.com/Emoticons/regular_smile.gif">&nbsp;Thanks!<BR></P>
<P>是篇不错的文章。推荐一下，让初学者都读一读。<BR></P><A href="http://www.uml.org.cn/net/net047.htm">
<P></A><A href="http://www.uml.org.cn/net/net046.htm" target=_new><FONT color=#009933>http://www.uml.org.cn/net/net046.htm</FONT></A><A href="http://www.uml.org.cn/net/net047.htm"> <BR><BR></P>
<P>http://www.uml.org.cn/net/net047.htm</A><BR></P>
<P><A href="http://www.uml.org.cn/net/net048.htm" target=_new>http://www.uml.org.cn/net/net048.htm</A> <BR><BR></P>
<P>&nbsp;</P><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/polarlm/" target="_blank">polarlm.net</a> 2004-04-08 10:16 <a href="http://www.cnblogs.com/polarlm/archive/2004/04/08/5441.html#5488#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
