大虾帮忙啊!小弟谢谢了! 这么冷清阿!各位大侠都深藏不露啊! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 什么意思,不能显示按钮?这个按钮难道不是你从工具箱拖到你的窗体上的吗?如果你直接写得这样没有#region Windows 窗体设计器生成的代码 /// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(152, 160); this.button1.Name = "button1"; this.button1.TabIndex = 0; this.button1.Text = "button1"; this.button1.Click += new System.EventHandler(this.button1_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(664, 438); this.Controls.Add(this.button1); this.Name = "Form1"; this.Text = "Form1"; this.ResumeLayout(false); } #endregion当然不可能有了 如何定义数据库访问接口类来达到低偶合的目的 问题:数据如何从别人的网站上copy下来。。他实时更新。。我这也跟着实时更新! 关于word控件的问题 怎样移除listbox最后一项? 关于BLOG的引用通告 关于 控件显示问题 谁能帮我完成一个方法>>> C#初学者,求各位老师给推荐些学习资料 如何在Winform控制嵌入的浏览器对web构件的显示 如何动态修改web页面中dataGrid的列头显示文字 外行提问:关于ADO.NET、DataSet 水晶报表中明细字段手动加回车?
这个按钮难道不是你从工具箱拖到你的窗体上的吗?
如果你直接写得这样
没有
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(152, 160);
this.button1.Name = "button1";
this.button1.TabIndex = 0;
this.button1.Text = "button1";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(664, 438);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false); }
#endregion当然不可能有了