C#_Basic
shapefile
这个作者很懒,什么都没留下…
展开
-
About "Destructor Function"
There is a strang symbol "~" ,when i read the code of "Zoom In" class.the key part of the code is shown as follows: private System.Drawing.Bitmap m_bitmap; private IntPtr m_hBitmap;原创 2007-07-27 10:37:00 · 432 阅读 · 0 评论 -
How to load an url image
I visit a website,somebody ask:"pictureBox 怎样加载一个http://url图像?",andMany people give the answer:1.pictureBox1.Image = Image.FromStream(System.Net.WebRequest.Create(http://www.baidu/new.gif ).Ge原创 2007-07-31 10:06:00 · 419 阅读 · 0 评论 -
sealed
C# 语言参考sealed(C# 参考) sealed 修饰符可以应用于类、实例方法和属性。密封类不能被继承。密封方法会重写基类中的方法,但其本身不能在任何派生类中进一步重写。当应用于方法或属性时,sealed 修饰符必须始终与 override(C# 参考) 一起使用。在类声明中使用 sealed 修饰符可防止继承此类,例如: 复制代码转载 2007-08-01 10:22:00 · 404 阅读 · 0 评论 -
ConfigurationSettings becomes ConfigurationManager
In v1.1 we used the ConfigurationSettings class to read values from our configuration files (web/app.config), in .NET 2.0 we now have the ConfigurationManager class.ConfigurationSettings.AppSettings转载 2007-08-08 10:06:00 · 332 阅读 · 0 评论 -
How to show separators in WinForm's StatusStrip control?
windsurfing_stew:Hi,Winforms has the new StatusStrip control that replaces StatusBar in1.1. Ive looked high and low but cant seem to find how to getseparators (|) in my status bar, egInfo1 | Info转载 2007-08-08 10:33:00 · 453 阅读 · 0 评论