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 public class EmbroideryReaderSettings
{ {
private nc_settings.IniFile settings; private NJCrawford.IniFile settings;
private const String SETTING_UPDATE_LOCATION = "update location"; private const String SETTING_UPDATE_LOCATION = "update location";
@ -56,12 +56,15 @@ namespace embroideryReader
private const String VALUE_TRUE = "true"; private const String VALUE_TRUE = "true";
private const String VALUE_FALSE = "false"; 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() public EmbroideryReaderSettings()
{ {
settings = new nc_settings.IniFile("embroideryreader.ini"); settings = new NJCrawford.IniFile(SETTINGS_FILENAME);
if (String.IsNullOrEmpty(updateLocation)) 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 get
{ {
return settings.getValue(SETTING_UPDATE_LOCATION); return UPDATE_URL;
}
set
{
settings.setValue(SETTING_UPDATE_LOCATION, value);
} }
} }

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: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Embroidery Reader")] [assembly: AssemblyProduct("Embroidery Reader")]
[assembly: AssemblyCopyright("Copyright © Nathan Crawford 2009")] [assembly: AssemblyCopyright("Copyright © Nathan Crawford 2010")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@ -54,5 +54,5 @@ using System.Runtime.InteropServices;
// Build Number // Build Number
// Revision // Revision
// //
[assembly: AssemblyVersion("3.1.0.16")] [assembly: AssemblyVersion("1.3.0.17")]
[assembly: AssemblyFileVersion("3.1.0.16")] [assembly: AssemblyFileVersion("1.3.0.17")]

Wyświetl plik

@ -65,6 +65,7 @@
<DependentUpon>frmTextbox.cs</DependentUpon> <DependentUpon>frmTextbox.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="EmbroideryReaderSettings.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="frmMain.resx"> <EmbeddedResource Include="frmMain.resx">
<SubType>Designer</SubType> <SubType>Designer</SubType>

Wyświetl plik

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion> <ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion> <SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{0A9A24AD-60F0-4664-BCC6-2B98B3E8B565}</ProjectGuid> <ProjectGuid>{0A9A24AD-60F0-4664-BCC6-2B98B3E8B565}</ProjectGuid>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
@ -52,6 +52,7 @@
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="EmbroideryReaderSettings.cs" />
<Compile Include="frmMain.cs"> <Compile Include="frmMain.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>

Wyświetl plik

@ -212,7 +212,7 @@ namespace embroideryReader
private void checkForUpdateToolStripMenuItem_Click(object sender, EventArgs e) 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(); updater.waitForInfo();
if (updater.GetLastError() != "") if (updater.GetLastError() != "")

Wyświetl plik

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion> <ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion> <SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{978B855C-C9CD-4A5E-A335-9ED8DD3E001A}</ProjectGuid> <ProjectGuid>{978B855C-C9CD-4A5E-A335-9ED8DD3E001A}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
@ -24,7 +24,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<RegisterForComInterop>true</RegisterForComInterop> <RegisterForComInterop>false</RegisterForComInterop>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">