VM.xPort.ExcelClient XXX备忘

去掉ExcelConnection类中的几个构造函数中licenseManager.V
erify()代码

去掉 ExcelConnection.Open方法中的抛出异常:

Open方法修改后的代码应该是 

public override void Open()
{
    
try
    {
        
string str = y.d(this.GetType().AssemblyQualifiedName);
        
if (str == null)
        {
        }
        
if (y.c(str) != y.n)
        {
        }
        
this.l = ConnectionState.Connecting;
        
this.a(this.i, this.p);
        
this.l = ConnectionState.Open;
    }
    
catch (Exception exception1)
    {
        ProjectData.SetProjectError(exception1);
        Exception exception 
= exception1;
        
this.l = ConnectionState.Closed;
        
throw;
    }
}
 

posted @ 2011-05-05 00:53  代码乱了  阅读(608)  评论(0编辑  收藏  举报