Browse Source

recover to the beijing version

gsp 4 years ago
parent
commit
4150f10da0
2 changed files with 6 additions and 8 deletions
  1. 2 2
      OTSSysMgrTools/ImageDispose.cs
  2. 4 6
      OTSSysMgrTools/OTSSysMgrTools.csproj

+ 2 - 2
OTSSysMgrTools/ImageDispose.cs

@@ -212,7 +212,7 @@ namespace OTSSysMgrTools
 
                 #region 设置图像分辨率
                 //设置宽度
-                if (!cfun.SetImageSize(width, height))
+                if (!cfun.SetImageSize(width))
                 {
                     cfun.SetSemScanMode(a_oldMode);
                     return false;
@@ -348,7 +348,7 @@ namespace OTSSysMgrTools
 
                 #region 设置图像分辨率
                 //设置宽度
-                if (!cfun.SetImageSize(iWidth, iHeigh))
+                if (!cfun.SetImageSize(iWidth))
                 {
                     cfun.SetSemScanMode(a_oldMode);
                     return 0;

+ 4 - 6
OTSSysMgrTools/OTSSysMgrTools.csproj

@@ -74,6 +74,10 @@
     <ErrorReport>prompt</ErrorReport>
   </PropertyGroup>
   <ItemGroup>
+    <Reference Include="OTSClrInterface, Version=0.0.0.0, Culture=neutral, processorArchitecture=x86">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\Bin\Win32\Debug\OTSClrInterface.dll</HintPath>
+    </Reference>
     <Reference Include="System" />
     <Reference Include="System.Core" />
     <Reference Include="System.Data.SQLite, Version=1.0.113.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=AMD64">
@@ -103,11 +107,5 @@
     <Compile Include="SQliteManageClass.cs" />
     <Compile Include="XMLManageClass.cs" />
   </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="..\OTSCPP\OTSClrInterface\OTSClrInterface.vcxproj">
-      <Project>{490a8592-7b13-4536-b475-028e73007fae}</Project>
-      <Name>OTSClrInterface</Name>
-    </ProjectReference>
-  </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
 </Project>