错误 1 “object”并不包含“Dispose”的定义&& 错误 2“轴承_GUI.Form.Dispose(bool)”: 没有找到适合的方法来重写 Winform 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Form没有virtual的Dispose方法供你重写 你这个Form的基类是什么?不是System.Windows.Forms.Form? *****************************************************************************签名档: http://feiyun0112.cnblogs.com/ partial class Form1它应该是另外一个Form1.cs的设计器文件,被手动输入或改错了。 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace 轴承_GUI{ partial class Form { public Form() { InitializeComponent(); } private void linkLb定位预紧_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { groupBox定位预紧.Visible = true; groupBox定压预紧.Visible = false; } private void linkLb定压预紧_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { groupBox定位预紧.Visible = false; groupBox定压预紧.Visible = true; } }} 错误 1 “轴承_GUI.Form.Dispose(bool)”: 没有找到适合的方法来重写 错误 2 已经解决,就剩下错误 1 了 partial class Form : System.Windows.Forms.Form 倾己所有求教 c# windows窗口问题 生成XML的问题 请教用户控件问题 凌乱了,REST看了半天,还是不理解!!! 不知道在哪个板块问这个问题:关于考场座位分配的问题 C#正则,我知道这个"(?<=\').*?(?=\')"是提取两个单引号之间的值,但我看了MSDN也不理解,请高手逐个符号讲解,谢谢 关于在DOTNET源码保护的重要问题。大家多多发言。一定会给有贡献的高手加份的 鼠标左健单击事件!!!在线 别吵了,.net肯定快过java,因为是本地代码! Winform屏蔽ComboBox控件下拉列表问题 本地excel上传到服务器上有什么好方法
*****************************************************************************
签名档: http://feiyun0112.cnblogs.com/
它应该是另外一个Form1.cs的设计器文件,被手动输入或改错了。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;namespace 轴承_GUI
{
partial class Form
{
public Form()
{
InitializeComponent();
} private void linkLb定位预紧_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
groupBox定位预紧.Visible = true;
groupBox定压预紧.Visible = false;
} private void linkLb定压预紧_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
groupBox定位预紧.Visible = false;
groupBox定压预紧.Visible = true;
}
}
}