04 2007 档案
摘要:OLE DB, OleDbConnection (.NET)密码连接:Provider=sqloledb;DataSource=myServerAddress;InitialCatalog=myDataBase;UserId=myUsername;Password=myPassword;window身份认证:Provider=sqloledb;DataSource=myServerAddress;...
阅读全文
posted @ 2007-04-16 20:21
dn
摘要:对教材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
摘要:对教材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
摘要:对教材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
浙公网安备 33010602011771号