下面是一段J#代码,我该如何修改才能在C#中顺利编译呢?多谢! #region 通讯线程
public class InnerThread extends Thread
{  
private String strType = "";
private DlgUpgradeProc frmParent = null;
 
public InnerThread(DlgUpgradeProc frmParent)
{
this.strType   = strType;
this.frmParent = frmParent;
this.setName("DlgUpgradeProc$InnerThread"); 
}
          
public void run() 
{
this.frmParent.lockForm();

this.frmParent.execUpgrade(); //Add by chenbo 2005/01/05
recBul();
//Add end this.frmParent.unlockForm();

}
#endregion #region 执行通讯
public void execComm()
{
InnerThread innerThread = new InnerThread( this);
innerThread.start(); 
}
#endregion