胡子哥哥
在你的代码中保证包含如下代码即可private System.ComponentModel.IContainer components = null;protected override void Dispose(bool disposing){if (disposing && (components != null)){components.Dispose();}base.Dispose(disposing);}private void InitializeComponent(){components = new System.ComponentModel.Container();}