kopia lustrzana https://github.com/njcrawford/EmbroideryReader
Updated to latest available versions of dlls and helper apps
rodzic
8ec5e02992
commit
29168013ed
Plik binarny nie jest wyświetlany.
|
@ -31,7 +31,7 @@ namespace embroideryReader
|
|||
{
|
||||
public class EmbroideryReaderSettings
|
||||
{
|
||||
private nc_settings.IniFile settings;
|
||||
private NJCrawford.IniFile settings;
|
||||
|
||||
private const String SETTING_UPDATE_LOCATION = "update location";
|
||||
|
||||
|
@ -56,12 +56,15 @@ namespace embroideryReader
|
|||
private const String VALUE_TRUE = "true";
|
||||
private const String VALUE_FALSE = "false";
|
||||
|
||||
private const String UPDATE_URL = "http://www.njcrawford.com/updates/embroidery-reader.ini";
|
||||
private const String SETTINGS_FILENAME = "embroideryreader.ini";
|
||||
|
||||
public EmbroideryReaderSettings()
|
||||
{
|
||||
settings = new nc_settings.IniFile("embroideryreader.ini");
|
||||
if (String.IsNullOrEmpty(updateLocation))
|
||||
settings = new NJCrawford.IniFile(SETTINGS_FILENAME);
|
||||
if (!String.IsNullOrEmpty(updateLocation))
|
||||
{
|
||||
updateLocation = "http://www.njcrawford.com/updates/embroidery-reader.ini";
|
||||
settings.setValue(SETTING_UPDATE_LOCATION, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -69,11 +72,7 @@ namespace embroideryReader
|
|||
{
|
||||
get
|
||||
{
|
||||
return settings.getValue(SETTING_UPDATE_LOCATION);
|
||||
}
|
||||
set
|
||||
{
|
||||
settings.setValue(SETTING_UPDATE_LOCATION, value);
|
||||
return UPDATE_URL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -35,7 +35,7 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Embroidery Reader")]
|
||||
[assembly: AssemblyCopyright("Copyright © Nathan Crawford 2009")]
|
||||
[assembly: AssemblyCopyright("Copyright © Nathan Crawford 2010")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
@ -54,5 +54,5 @@ using System.Runtime.InteropServices;
|
|||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("3.1.0.16")]
|
||||
[assembly: AssemblyFileVersion("3.1.0.16")]
|
||||
[assembly: AssemblyVersion("1.3.0.17")]
|
||||
[assembly: AssemblyFileVersion("1.3.0.17")]
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
<DependentUpon>frmTextbox.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="EmbroideryReaderSettings.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="frmMain.resx">
|
||||
<SubType>Designer</SubType>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{0A9A24AD-60F0-4664-BCC6-2B98B3E8B565}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
|
@ -52,6 +52,7 @@
|
|||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="EmbroideryReaderSettings.cs" />
|
||||
<Compile Include="frmMain.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
|
|
@ -212,7 +212,7 @@ namespace embroideryReader
|
|||
|
||||
private void checkForUpdateToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
NJCrawford.UpdateCheck updater = new NJCrawford.UpdateCheck(UPDATE_URL, null, null);
|
||||
NJCrawford.UpdateCheck updater = new NJCrawford.UpdateCheck(settings.updateLocation, null, null);
|
||||
updater.waitForInfo();
|
||||
|
||||
if (updater.GetLastError() != "")
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{978B855C-C9CD-4A5E-A335-9ED8DD3E001A}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
|
@ -24,7 +24,7 @@
|
|||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<RegisterForComInterop>true</RegisterForComInterop>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
|
|
Ładowanie…
Reference in New Issue