vb.net里,怎么从一个现有工程里把一个窗体移出来创建成一个新的工程
一瓶 2010-07-24 01:37:30 问题是这样的,现有工程里有多个库,多个窗体,我要从这个工程中把其中几个窗体和库取出来。与另一个工程中的一些窗体和库组成一个新的工程。
在2005里面,我新建一个工程再用导入现有窗体的方法导入的窗体里面没有原窗体里的控件,如果所原窗体里的控件都粘到新工程窗体里面,又会在代码区里多一段类似下面的代码感觉很不爽,应该有更好的方法,谢谢指教
Public WithEvents cmback As System.Windows.Forms.Button
Public WithEvents CmMaketestCard As System.Windows.Forms.Button
Public WithEvents PBar As System.Windows.Forms.ProgressBar
Public WithEvents TxtWarn1 As System.Windows.Forms.TextBox
Public WithEvents Chkwarnshut As System.Windows.Forms.CheckBox
Public WithEvents ChkSetMeterNo As System.Windows.Forms.CheckBox
Public WithEvents Chkother As System.Windows.Forms.CheckBox
Public WithEvents Frame2 As System.Windows.Forms.GroupBox
Public WithEvents Label1 As System.Windows.Forms.Label
Public WithEvents TxtPower As System.Windows.Forms.TextBox
Public WithEvents Label7 As System.Windows.Forms.Label
Public WithEvents TextBox6 As System.Windows.Forms.TextBox
Public WithEvents Label8 As System.Windows.Forms.Label
Public WithEvents TextBox7 As System.Windows.Forms.TextBo