Updated to latest available versions of dlls and helper apps

Branch_1.5.0
Nathan Crawford 2010-01-23 04:28:57 +00:00
rodzic 8ec5e02992
commit 29168013ed
9 zmienionych plików z 17 dodań i 16 usunięć

Plik binarny nie jest wyświetlany.

Wyświetl plik

@ -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.

Wyświetl plik

@ -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")]

Wyświetl plik

@ -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>

Wyświetl plik

@ -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>

Wyświetl plik

@ -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() != "")

Wyświetl plik

@ -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' ">