VM.xPort.ExcelClient XXX备忘
时间:2011-05-05 来源:代码乱了
去掉ExcelConnection类中的几个构造函数中licenseManager.V
erify()代码
,
{
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;
}
}
去掉 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;
}
}
相关阅读 更多 +