Windows Forms 2.0 Programming (2nd Edition) (Microsoft .Net Development Series)

Windows Forms 2.0 Programming (2nd Edition) (Microsoft .Net Development Series)
  • by Chris Sells, Michael Weinhardt
  • Paperback: 1296 pages
  • Publisher: Addison-Wesley Professional; (May 05, 2006)
  • Language: English
  • ISBN: 0321267966
  • Format: CHM
  • Size:15932855 bytes
  • Archive Size: 15928246 bytes


Windows Forms 2.0 Programming is the successor to the highly praised Windows Forms Programming in C#. This edition has been significantly updated to amalgamate the sheer mass of new and improved support that is encompassed by Windows Forms 2.0, the .NET Framework 2.0, and Visual Studio 2005. This is the one book developers need in order to learn how to build and deploy leading-edge Windows Forms 2.0 applications.


Download:
depositfiles.com
rapidshare.com 
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在 C# WinForm 中添加 Microsoft Forms 2.0 Frame 的步骤如下: 1. 打开 Visual Studio,创建一个新的 Windows 窗体应用程序。 2. 在工具箱中找到“COM”选项卡,并在其中找到“Microsoft Forms 2.0 Frame”控件。 3. 将“Microsoft Forms 2.0 Frame”控件从工具箱中拖动到窗体设计器中。 4. 在窗体设计器中选中“Microsoft Forms 2.0 Frame”控件,然后打开属性窗口。 5. 在属性窗口中,设置“BorderStyle”属性为“None”,这样就可以隐藏控件的边框。 6. 在代码中,你可以使用以下代码来操作 Microsoft Forms 2.0 Frame 控件: ``` // 创建 Microsoft Forms 2.0 Frame 控件对象 AxHost.State state = new AxHost.State(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.axMsFormsFrame1 = new AxMSForms.AxFrame(); ((System.ComponentModel.ISupportInitialize)(this.axMsFormsFrame1)).BeginInit(); this.SuspendLayout(); // 设置 Microsoft Forms 2.0 Frame 控件的属性 this.axMsFormsFrame1.Enabled = true; this.axMsFormsFrame1.Location = new System.Drawing.Point(12, 12); this.axMsFormsFrame1.Name = "axMsFormsFrame1"; this.axMsFormsFrame1.OcxState = state; this.axMsFormsFrame1.Size = new System.Drawing.Size(260, 210); this.axMsFormsFrame1.TabIndex = 0; // 将 Microsoft Forms 2.0 Frame 控件添加到窗体中 this.Controls.Add(this.axMsFormsFrame1); ((System.ComponentModel.ISupportInitialize)(this.axMsFormsFrame1)).EndInit(); this.ResumeLayout(false); ``` 以上代码中,axMsFormsFrame1 是你在窗体设计器中添加的 Microsoft Forms 2.0 Frame 控件的名称,你可以根据自己的实际情况进行修改。 请注意,Microsoft Forms 2.0 Frame 控件需要在计算机上安装 Microsoft Office 才能使用。如果你的计算机上没有安装 Microsoft Office,你需要先安装 Microsoft Office 后才能使用 Microsoft Forms 2.0 Frame 控件。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值