Commit 1fd5720d authored by IMJoyJ's avatar IMJoyJ

.NET Framework 2.0->4.7.2;

Fix warning
parent 11310f24
......@@ -448,7 +448,7 @@ void SetSelect(ComboBox cb, long k)
int index = keys.IndexOf(k);
if (index >= 0 && index < cb.Items.Count)
cb.SelectedIndex = index;
else
else if (cb.Items.Count > 0)
cb.SelectedIndex = 0;
}
//得到所选值
......
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<PropertyGroup>
<ProjectGuid>{3FA42393-3D90-4DE1-93FC-33FCB3045845}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
......@@ -7,7 +7,7 @@
<OutputType>WinExe</OutputType>
<RootNamespace>DataEditorX</RootNamespace>
<AssemblyName>DataEditorX</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<AppDesignerFolder>Properties</AppDesignerFolder>
<StartupObject>DataEditorX.Program</StartupObject>
<ApplicationIcon>icon.ico</ApplicationIcon>
......@@ -17,6 +17,7 @@
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<WarningLevel>4</WarningLevel>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
......@@ -42,6 +43,12 @@
<DefineConstants>TRACE</DefineConstants>
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="FastColoredTextBox">
<HintPath>DLL\FastColoredTextBox.dll</HintPath>
......@@ -232,8 +239,6 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="Core\TCGEditor" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<connectionStrings>
<!-- Example connection to a SQL Server Database on localhost. -->
......@@ -11,40 +11,40 @@
System.Configuration.ConfigurationManager.AppSettings[key]
-->
<!-- MSE language data/mse_xxx.txt -->
<add key="mse" value="Chinese-Simplified" />
<add key="mse" value="Chinese-Simplified"/>
<!-- Language data/cardinfo_xxxx.txt data/language_xxx.txt -->
<add key="language" value="english" />
<add key="language" value="english"/>
<!-- Check system language when running program first time -->
<add key="check_system_language" value="true" />
<add key="check_system_language" value="true"/>
<!-- async load data -->
<add key="async" value="false" />
<add key="async" value="false"/>
<!-- DataEditorX source code -->
<add key="sourceURL" value="https://github.com/purerosefallen/DataEditorX" />
<add key="sourceURL" value="https://github.com/purerosefallen/DataEditorX"/>
<!-- DataEditorX update url-->
<add key="updateURL" value="https://github.com/purerosefallen/DataEditorX/tree/master/win32/readme.txt" />
<add key="updateURL" value="https://github.com/purerosefallen/DataEditorX/tree/master/win32/readme.txt"/>
<!-- delete,modify with card's files image script -->
<add key="opera_with_cards_file" value="true" />
<add key="opera_with_cards_file" value="true"/>
<!-- open file in this.such as lua -->
<add key="open_file_in_this" value="true" />
<add key="open_file_in_this" value="true"/>
<!-- check update when opening application automatically -->
<add key="auto_check_update" value="true" />
<add key="auto_check_update" value="true"/>
<!-- add require automatically -->
<add key="add require" value="" />
<add key="add require" value=""/>
<!-- Cut Images Setting -->
<add key="image_quilty" value="100" />
<add key="image" value="44,64,177,254" />
<add key="image_other" value="25,54,128,128" />
<add key="image_xyz" value="24,51,128,128" />
<add key="image_pendulum" value="16,50,147,109" />
<add key="image_quilty" value="100"/>
<add key="image" value="44,64,177,254"/>
<add key="image_other" value="25,54,128,128"/>
<add key="image_xyz" value="24,51,128,128"/>
<add key="image_pendulum" value="16,50,147,109"/>
<!-- CodeEdiotr Setting
IME = true 使用輸入法,正常顯示文字,反應變慢
IME = false English
-->
<add key="IME" value="false" />
<add key="wordwrap" value="true" />
<add key="tabisspace" value="false" />
<add key="fontname" value="Consolas" />
<add key="fontsize" value="14.5" />
<add key="IME" value="false"/>
<add key="wordwrap" value="true"/>
<add key="tabisspace" value="false"/>
<add key="fontname" value="Consolas"/>
<add key="fontsize" value="14.5"/>
<!-- MSE path-->
<add key="mse_path" value="./MagicSetEditor2/mse.exe"/>
<add key="mse_exprotpath" value="./exprot"/>
......@@ -53,4 +53,4 @@
<!-- 1024 : 40-->
<add key="autolength" value="37"/>
</appSettings>
</configuration>
\ No newline at end of file
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment