摘要:
对教材3.4.1部分进行演示,即LicFileLicenseProvider类使用的演示 1//使用LicFileLicenseProvider作为许可提供类 2 [LicenseProvider(typeof(LicFileLicenseProvider))] 3 public class LicensedColorComboBox : System.Windows.Forms.C... 阅读全文
posted @ 2007-04-15 15:49
dn
阅读(263)
评论(0)
推荐(0)
摘要:
对教材3.3部分进行演示 1[ToolboxBitmap(@"E:\教学\基于C#的Windows应用程序设计\第三章\test_cra\App.ico")] 2public class UserControl1 : System.Windows.Forms.UserControl 3{ 4 private System.Windows.Forms.Button button1; 5 ... 阅读全文
posted @ 2007-04-15 15:46
dn
阅读(215)
评论(0)
推荐(0)
摘要:
对教材3.2.2部分进行演示,该例题包括自定义控件事件的代码 1using System; 2 3namespace override_attribute_event 4{ 5 6 public class NumericTextBox : System.Windows.Forms.TextBox 7 { 8 public NumericTextBox() 9 ... 阅读全文
posted @ 2007-04-15 15:40
dn
阅读(332)
评论(0)
推荐(0)