左边的Tab Control控件的点击事件做一个Event事件抛到主界面。再用主界面去实现右边部分的变化。
解决方案 »
- 奇大怪啦!Spring.Net+NHibernate 事务在Oracle中第一次正常回滚,以后均不正常回滚!!!!!!
- 为什么有的ASPX文件没有相应的CS文件。
- 求教:关于酒店管理系统!
- 求 个 封装 好的 异步socket UDP 不要 UDPClient !~ 谢谢!~ happy new year!~
- 多线程拷贝文件时出现异常 无法访问已关闭文件
- 急 log4net记录日志问题…
- 如何用CVS搭建网络开发平台
- FORM一设置成MDI子窗体,一显示就自动最大化,怎么回事?
- if语句 急!!
- 如何把所需要的dll文件打包成一个exe文件,这样在任何没有安装.net的环境下都能运行。
- 打开文件为什么会出异常,而且不显示要找的文件
- sybase.Data.AseClient.AseConnection的类型初始值设定项引发异常
//主窗体
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
this.button1.Location = new System.Drawing.Point(68, 15);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(103, 33);
this.button1.TabIndex = 0;
this.button1.Text = "主窗体";
this.button1.UseVisualStyleBackColor = true;
//
// Frm_Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(246, 66);
this.Controls.Add(this.button1);
this.Name = "Frm_Main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "修改继承窗体中的控件属性";
this.ResumeLayout(false); }
//继承的窗体
private void InitializeComponent()
{
this.SuspendLayout();
this.button1.Text = "被继承的窗体";
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.ClientSize = new System.Drawing.Size(246, 66);
this.Name = "Frm_Inherit";
this.Text = "继承窗体";
this.ResumeLayout(false); }