1.1
This commit is contained in:
parent
241bfe49f8
commit
48f6a0ea9b
|
|
@ -1,25 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.32630.194
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ARCHBLOXLauncher_XP", "ARCHBLOXLauncher_XP\ARCHBLOXLauncher_XP.csproj", "{8DF23FBD-B288-40AF-B820-67F6BE8F7D94}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8DF23FBD-B288-40AF-B820-67F6BE8F7D94}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8DF23FBD-B288-40AF-B820-67F6BE8F7D94}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8DF23FBD-B288-40AF-B820-67F6BE8F7D94}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8DF23FBD-B288-40AF-B820-67F6BE8F7D94}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {50024C77-2D61-4718-BA4E-35931D18035A}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{11134DDF-A25D-4EF8-89A6-1A1BF2310F07}</ProjectGuid>
|
||||
<ProjectGuid>{FE8FC745-5077-4C8D-9017-A13490C48BC2}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ARCHBLOXLauncher_XP</RootNamespace>
|
||||
|
|
@ -34,9 +34,6 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>archblox.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
|
|
@ -51,27 +48,35 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Extensions.cs" />
|
||||
<Compile Include="Form2.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form2.designer.cs">
|
||||
<DependentUpon>Form2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="URI_Maker.cs" />
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Form2.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form2.designer.cs">
|
||||
<DependentUpon>Form2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="obj\x86\Debug\.NETFramework,Version=v4.0.AssemblyAttributes.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="URI_Maker.cs" />
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Form2.resx">
|
||||
<DependentUpon>Form2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="obj\x86\Debug\ARCHBLOXLauncher_XP.Form1.resources" />
|
||||
<EmbeddedResource Include="obj\x86\Debug\ARCHBLOXLauncher_XP.Form2.resources" />
|
||||
<EmbeddedResource Include="obj\x86\Debug\ARCHBLOXLauncher_XP.Properties.Resources.resources" />
|
||||
<EmbeddedResource Include="obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources" />
|
||||
<EmbeddedResource Include="obj\x86\Release\ARCHBLOXLauncher_XP.Form1.resources" />
|
||||
<EmbeddedResource Include="obj\x86\Release\ARCHBLOXLauncher_XP.Form2.resources" />
|
||||
<EmbeddedResource Include="obj\x86\Release\ARCHBLOXLauncher_XP.Properties.Resources.resources" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
|
|
@ -83,6 +88,19 @@
|
|||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="app.config" />
|
||||
<None Include="bin\Debug\ARCHBLOXLauncher_XP.exe.config" />
|
||||
<None Include="bin\Debug\ARCHBLOXLauncher_XP.vshost.exe.config" />
|
||||
<None Include="bin\Release\ARCHBLOXLauncher_XP.exe.config" />
|
||||
<None Include="obj\x86\Debug\ARCHBLOXLauncher_XP.csproj.AssemblyReference.cache" />
|
||||
<None Include="obj\x86\Debug\ARCHBLOXLauncher_XP.csproj.ResolveComReference.cache" />
|
||||
<None Include="obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache" />
|
||||
<None Include="obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache" />
|
||||
<None Include="obj\x86\Debug\GenerateResource.read.1.tlog" />
|
||||
<None Include="obj\x86\Debug\GenerateResource.write.1.tlog" />
|
||||
<None Include="obj\x86\Release\ARCHBLOXLauncher_XP.csproj.ResolveComReference.cache" />
|
||||
<None Include="obj\x86\Release\DesignTimeResolveAssemblyReferencesInput.cache" />
|
||||
<None Include="obj\x86\Release\GenerateResource.read.1.tlog" />
|
||||
<None Include="obj\x86\Release\GenerateResource.write.1.tlog" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
|
|
@ -94,6 +112,34 @@
|
|||
</Compile>
|
||||
<None Include="Resources\Thumbs.db" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="bin\Debug\ARCHBLOXLauncher_XP.exe" />
|
||||
<Content Include="bin\Debug\ARCHBLOXLauncher_XP.pdb" />
|
||||
<Content Include="bin\Debug\ARCHBLOXLauncher_XP.vshost.exe" />
|
||||
<Content Include="bin\Debug\WindowsFormsApplication1.exe" />
|
||||
<Content Include="bin\Debug\WindowsFormsApplication1.pdb" />
|
||||
<Content Include="bin\Release\ARCHBLOXLauncher_XP.exe" />
|
||||
<Content Include="bin\Release\ARCHBLOXLauncher_XP.pdb" />
|
||||
<Content Include="obj\x86\Debug\ARCHBLOXLauncher_XP.csproj.FileListAbsolute.txt" />
|
||||
<Content Include="obj\x86\Debug\ARCHBLOXLauncher_XP.exe" />
|
||||
<Content Include="obj\x86\Debug\ARCHBLOXLauncher_XP.pdb" />
|
||||
<Content Include="obj\x86\Debug\Interop.IWshRuntimeLibrary.dll" />
|
||||
<Content Include="obj\x86\Debug\Interop.Shell32.dll" />
|
||||
<Content Include="obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll" />
|
||||
<Content Include="obj\x86\Debug\WindowsFormsApplication1.exe" />
|
||||
<Content Include="obj\x86\Debug\WindowsFormsApplication1.pdb" />
|
||||
<Content Include="obj\x86\Release\ARCHBLOXLauncher_XP.csproj.FileListAbsolute.txt" />
|
||||
<Content Include="obj\x86\Release\ARCHBLOXLauncher_XP.exe" />
|
||||
<Content Include="obj\x86\Release\ARCHBLOXLauncher_XP.pdb" />
|
||||
<Content Include="obj\x86\Release\Interop.IWshRuntimeLibrary.dll" />
|
||||
<Content Include="obj\x86\Release\Interop.Shell32.dll" />
|
||||
<Content Include="obj\x86\Release\TempPE\Properties.Resources.Designer.cs.dll" />
|
||||
<Content Include="Resources\archblox.png" />
|
||||
<Content Include="Resources\archbloxlowres.png" />
|
||||
<Content Include="Resources\buttonblue200.png" />
|
||||
<Content Include="Resources\buttongreen200.png" />
|
||||
<Content Include="Resources\unknown.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<COMReference Include="IWshRuntimeLibrary">
|
||||
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
|
||||
|
|
@ -114,14 +160,6 @@
|
|||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="archblox.ico" />
|
||||
<Content Include="Resources\archblox.png" />
|
||||
<Content Include="Resources\archbloxlowres.png" />
|
||||
<Content Include="Resources\buttonblue200.png" />
|
||||
<Content Include="Resources\buttongreen200.png" />
|
||||
<Content Include="Resources\unknown.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual C# Express 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ARCHBLOXLauncher_XP", "ARCHBLOXLauncher_XP.csproj", "{11134DDF-A25D-4EF8-89A6-1A1BF2310F07}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ARCHBLOXLauncher_XP", "ARCHBLOXLauncher_XP.csproj", "{FE8FC745-5077-4C8D-9017-A13490C48BC2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
@ -9,10 +9,10 @@ Global
|
|||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{11134DDF-A25D-4EF8-89A6-1A1BF2310F07}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{11134DDF-A25D-4EF8-89A6-1A1BF2310F07}.Debug|x86.Build.0 = Debug|x86
|
||||
{11134DDF-A25D-4EF8-89A6-1A1BF2310F07}.Release|x86.ActiveCfg = Release|x86
|
||||
{11134DDF-A25D-4EF8-89A6-1A1BF2310F07}.Release|x86.Build.0 = Release|x86
|
||||
{FE8FC745-5077-4C8D-9017-A13490C48BC2}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{FE8FC745-5077-4C8D-9017-A13490C48BC2}.Debug|x86.Build.0 = Debug|x86
|
||||
{FE8FC745-5077-4C8D-9017-A13490C48BC2}.Release|x86.ActiveCfg = Release|x86
|
||||
{FE8FC745-5077-4C8D-9017-A13490C48BC2}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
|
||||
using System.Text;
|
||||
using System.Net;
|
||||
namespace ARCHBLOXLauncher_XP
|
||||
{
|
||||
public static class Extensions
|
||||
|
|
@ -29,5 +30,18 @@ namespace ARCHBLOXLauncher_XP
|
|||
destinationFolder.CopyHere(file, 4 | 16);
|
||||
}
|
||||
}
|
||||
|
||||
public static string GetVersionString()
|
||||
{
|
||||
WebClient wc = new WebClient();
|
||||
try { wc.DownloadData("http://archblox.com/client/version.txt"); }
|
||||
catch
|
||||
{
|
||||
return ("nil");
|
||||
}
|
||||
byte[] raw = wc.DownloadData("http://archblox.com/client/version.txt");
|
||||
string webData = Encoding.UTF8.GetString(raw);
|
||||
return(webData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -111,7 +111,7 @@
|
|||
// button2
|
||||
//
|
||||
this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
||||
this.button2.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttongreen200;
|
||||
this.button2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button2.BackgroundImage")));
|
||||
this.button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.button2.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
|
||||
|
|
@ -171,7 +171,7 @@
|
|||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue200;
|
||||
this.button3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button3.BackgroundImage")));
|
||||
this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.button3.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
|
||||
|
|
@ -194,7 +194,7 @@
|
|||
// button1
|
||||
//
|
||||
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
||||
this.button1.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttongreen200;
|
||||
this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
|
||||
this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.button1.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
|
||||
|
|
@ -209,7 +209,7 @@
|
|||
// BackBTN
|
||||
//
|
||||
this.BackBTN.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
|
||||
this.BackBTN.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue200;
|
||||
this.BackBTN.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("BackBTN.BackgroundImage")));
|
||||
this.BackBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.BackBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.BackBTN.Font = new System.Drawing.Font("Tahoma", 10.25F, System.Drawing.FontStyle.Bold);
|
||||
|
|
@ -225,7 +225,7 @@
|
|||
// UpdateBTN
|
||||
//
|
||||
this.UpdateBTN.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
|
||||
this.UpdateBTN.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue200;
|
||||
this.UpdateBTN.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("UpdateBTN.BackgroundImage")));
|
||||
this.UpdateBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.UpdateBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.UpdateBTN.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold);
|
||||
|
|
@ -241,7 +241,7 @@
|
|||
// JoinBTN
|
||||
//
|
||||
this.JoinBTN.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
|
||||
this.JoinBTN.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue200;
|
||||
this.JoinBTN.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("JoinBTN.BackgroundImage")));
|
||||
this.JoinBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.JoinBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.JoinBTN.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold);
|
||||
|
|
@ -257,7 +257,7 @@
|
|||
// HostBTN
|
||||
//
|
||||
this.HostBTN.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
|
||||
this.HostBTN.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue200;
|
||||
this.HostBTN.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("HostBTN.BackgroundImage")));
|
||||
this.HostBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.HostBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.HostBTN.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold);
|
||||
|
|
@ -274,7 +274,7 @@
|
|||
//
|
||||
this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.pictureBox1.Image = global::ARCHBLOXLauncher_XP.Properties.Resources.archbloxlowres;
|
||||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(14, 5);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(174, 34);
|
||||
|
|
@ -314,7 +314,6 @@
|
|||
this.MaximizeBox = false;
|
||||
this.Name = "Form1";
|
||||
this.Text = "ARCHBLOX";
|
||||
this.Load += new System.EventHandler(this.Form1_Load);
|
||||
this.JoinBox.ResumeLayout(false);
|
||||
this.JoinBox.PerformLayout();
|
||||
this.HostBox.ResumeLayout(false);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using IWshRuntimeLibrary;
|
||||
using System;
|
||||
using System;
|
||||
using System.Text;
|
||||
using IWshRuntimeLibrary;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
using System.Net;
|
||||
|
|
@ -9,9 +9,20 @@ namespace ARCHBLOXLauncher_XP
|
|||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
private void CreateShortcut()
|
||||
{
|
||||
// create shortcut on user's desktop
|
||||
object shDesktop = (object)"Desktop";
|
||||
WshShell shell = new WshShell();
|
||||
string shortcutAddress = (string)shell.SpecialFolders.Item(ref shDesktop) + @"\ARCHBLOX Launcher.lnk";
|
||||
IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(shortcutAddress);
|
||||
shortcut.Description = "The launcher for ARCHBLOX Player.";
|
||||
shortcut.TargetPath = ARCHBLOXLauncher_XP.Extensions.GetExecutablePath();
|
||||
shortcut.Save();
|
||||
}
|
||||
// variables
|
||||
bool rbxl = false;
|
||||
bool exitafterarg = false;
|
||||
bool rbxl = false;
|
||||
private static WebClient wc = new WebClient();
|
||||
static byte[] raw = wc.DownloadData("http://archblox.com/client/version.txt");
|
||||
static string webData = Encoding.UTF8.GetString(raw);
|
||||
|
|
@ -19,21 +30,20 @@ namespace ARCHBLOXLauncher_XP
|
|||
static string folderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Archblx\", @"Versions\");
|
||||
static string clientPath = Path.Combine(folderPath, version_string + @"\");
|
||||
static string filePath = Path.Combine(clientPath, "ArchbloxPlayerBeta.exe");
|
||||
// animations
|
||||
private void CreateShortcut()
|
||||
{
|
||||
// create a shorcut on the user's desktop
|
||||
object shDesktop = (object)"Desktop";
|
||||
WshShell shell = new WshShell();
|
||||
string shortcutAddress = (string)shell.SpecialFolders.Item(ref shDesktop) + @"\ARCHBLOX Launcher.lnk";
|
||||
IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(shortcutAddress);
|
||||
shortcut.Description = "ARCHBLOX Launcher";
|
||||
shortcut.TargetPath = Extensions.GetExecutablePath();
|
||||
shortcut.Save();
|
||||
}
|
||||
delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
// Check for a internet connection
|
||||
try
|
||||
{
|
||||
wc.DownloadData("http://archblox.com/client/version.txt");
|
||||
}
|
||||
catch
|
||||
{
|
||||
MessageBox.Show("An error occoured while starting ARCHBLOX\n\nDetails: HttpOpenRequest failed for GET http://archblox.com/client/version.txt, Error ID: 6", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
Environment.Exit(0);
|
||||
}
|
||||
ARCHBLOXProtocol.ARCHBLOXURIProtocol.Register();
|
||||
CreateShortcut();
|
||||
var lastword = "";
|
||||
|
|
@ -61,7 +71,7 @@ namespace ARCHBLOXLauncher_XP
|
|||
}
|
||||
if (info1 == "" || info2 == "")
|
||||
{
|
||||
MessageBox.Show("Paramaters are invalid. Please try again. (ID: 500)", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show("An error occoured while starting ARCHBLOX\n\nDetails: Invalid Arguments, Error ID: 500", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
Environment.Exit(0);
|
||||
}
|
||||
var pProcess = new Process();
|
||||
|
|
@ -92,7 +102,7 @@ namespace ARCHBLOXLauncher_XP
|
|||
}
|
||||
if (info1 == "" || info2 == "")
|
||||
{
|
||||
MessageBox.Show("Paramaters are invalid. Please try again. (ID: 500)", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show("An error occoured while starting ARCHBLOX\n\nDetails: Invalid Arguments, Error ID: 500", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
Environment.Exit(0);
|
||||
}
|
||||
var pProcess = new Process();
|
||||
|
|
@ -116,6 +126,7 @@ namespace ARCHBLOXLauncher_XP
|
|||
lastword = word;
|
||||
}
|
||||
}
|
||||
|
||||
if (exitafterarg == true)
|
||||
{
|
||||
// close program
|
||||
|
|
@ -143,7 +154,7 @@ namespace ARCHBLOXLauncher_XP
|
|||
}
|
||||
if (!System.IO.File.Exists(filePath))
|
||||
{
|
||||
DialogResult res = MessageBox.Show("You need to install the latest version of ARCHBLOX to host. Would you like to install it?", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
|
||||
DialogResult res = MessageBox.Show("An error occoured while starting ARCHBLOX\n\nDetails: Out of date client! To update the client, select Yes or select the Install button on the main menu.", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Error);
|
||||
if (res == DialogResult.Yes)
|
||||
{
|
||||
ARCHBLOXLauncher_XP.Form2 form2 = new ARCHBLOXLauncher_XP.Form2();
|
||||
|
|
@ -152,11 +163,11 @@ namespace ARCHBLOXLauncher_XP
|
|||
}
|
||||
else if (textBox1.Text == "" || textBox2.Text == "")
|
||||
{
|
||||
MessageBox.Show("Please fill in all of the text fields.", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show("Please fill in all of the text boxes.", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
else if (rbxl == false)
|
||||
{
|
||||
MessageBox.Show("Please use a valid .RBXL! ." + sWord + " is not a supported file format.", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show("An error occoured while starting ARCHBLOX\n\nDetails: Invalid .RBXL, " + sWord + " is not a supported file format.", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -169,7 +180,6 @@ namespace ARCHBLOXLauncher_XP
|
|||
pProcess.StartInfo.CreateNoWindow = false;
|
||||
pProcess.Start();
|
||||
pProcess.EnableRaisingEvents = true;
|
||||
var random = new Random();
|
||||
MessageBox.Show("Starting game server on port " + textBox1.Text + " using " + textBox2.Text, "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
|
|
@ -179,7 +189,7 @@ namespace ARCHBLOXLauncher_XP
|
|||
// joining
|
||||
if (!System.IO.File.Exists(filePath))
|
||||
{
|
||||
DialogResult res = MessageBox.Show("You need to install the latest version of ARCHBLOX to join " + serverip.Text + ":" + serverport.Text + ". Would you like to install it?", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
|
||||
DialogResult res = MessageBox.Show("An error occoured while starting ARCHBLOX\n\nDetails: Out of date client! To update the client, select Yes or select the Install button on the main menu.", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Error);
|
||||
if (res == DialogResult.Yes)
|
||||
{
|
||||
ARCHBLOXLauncher_XP.Form2 form2 = new ARCHBLOXLauncher_XP.Form2();
|
||||
|
|
@ -188,10 +198,11 @@ namespace ARCHBLOXLauncher_XP
|
|||
}
|
||||
else if (serverip.Text == "" || serverport.Text == "")
|
||||
{
|
||||
MessageBox.Show("Please fill in all of the text fields.", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show("Please fill in all of the text boxes.", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
var pProcess = new Process();
|
||||
pProcess.StartInfo.FileName = filePath;
|
||||
pProcess.StartInfo.Arguments = "-a \"http://www.morblox.us/\" -j \"http://www.morblox.us/game/join.ashx?port=" + serverport.Text + "&ip=" + serverip.Text + "\" -t \"1\"";
|
||||
|
|
@ -211,7 +222,7 @@ namespace ARCHBLOXLauncher_XP
|
|||
OpenFileDialog dialog = new OpenFileDialog();
|
||||
dialog.Title = "Choose a RBXL...";
|
||||
dialog.AddExtension = true;
|
||||
dialog.Filter = "Place File (*.rbxl)| *.rbxl";
|
||||
dialog.Filter = "ROBLOX Place File (*.rbxl)| *.rbxl";
|
||||
if (DialogResult.OK == dialog.ShowDialog())
|
||||
{
|
||||
// check if it is a rbxl
|
||||
|
|
@ -226,14 +237,14 @@ namespace ARCHBLOXLauncher_XP
|
|||
if (line.Contains("<roblox!"))
|
||||
{
|
||||
// is binary/unsupported format
|
||||
MessageBox.Show("Sorry, binary .RBXL files are not supported. Please convert the RBXL into XML format using a converter, then try again.", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show("Binary ROBLOX Place files are not supported. Did you convert the place correctly, or use ARCHBLOX Studio to create the game?", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
// it's supported, yay!
|
||||
string destFile = Path.Combine(clientPath, @"Content\", Path.GetFileName(dialog.FileName));
|
||||
if (!System.IO.File.Exists(destFile)) { System.IO.File.Copy(dialog.FileName, destFile, true); }
|
||||
System.IO.File.Copy(dialog.FileName, destFile, true);
|
||||
textBox2.Text = Path.GetFileName(dialog.FileName);
|
||||
return;
|
||||
}
|
||||
|
|
@ -242,13 +253,13 @@ namespace ARCHBLOXLauncher_XP
|
|||
else if (word == ".rbxlx")
|
||||
{
|
||||
// rbxlx, cringe!
|
||||
MessageBox.Show(".RBXLX file formats are not supported, are you sure you converted the .RBXL correctly?", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show(".RBXLX place files are not supported! Are you sure you converted the place correctly?", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
// wtf this isn't even a place
|
||||
MessageBox.Show(word.ToUpper() + " is not a supported file type!", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show(word.ToUpper() + " is not a supported place file!", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -265,7 +276,14 @@ namespace ARCHBLOXLauncher_XP
|
|||
private void UpdateBTN_Click(object sender, EventArgs e)
|
||||
{
|
||||
ARCHBLOXLauncher_XP.Form2 form2 = new ARCHBLOXLauncher_XP.Form2();
|
||||
form2.Show();
|
||||
try
|
||||
{
|
||||
form2.Show();
|
||||
}
|
||||
catch
|
||||
{
|
||||
form2.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
private void BackBTN_Click(object sender, EventArgs e)
|
||||
|
|
@ -287,10 +305,5 @@ namespace ARCHBLOXLauncher_XP
|
|||
HostBox.Visible = true;
|
||||
BackBTN.Visible = true;
|
||||
}
|
||||
|
||||
private void Form1_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -39,34 +39,35 @@
|
|||
//
|
||||
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.pictureBox1.Image = global::ARCHBLOXLauncher_XP.Properties.Resources.archblox;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(3, 5);
|
||||
this.pictureBox1.Location = new System.Drawing.Point(18, 17);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(39, 40);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox1.Size = new System.Drawing.Size(35, 42);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(47, 8);
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.25F);
|
||||
this.label1.Location = new System.Drawing.Point(58, 18);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(130, 13);
|
||||
this.label1.Size = new System.Drawing.Size(237, 21);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "Configuring ARCHBLOX...";
|
||||
this.label1.Text = "Static";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
this.progressBar1.Location = new System.Drawing.Point(47, 23);
|
||||
this.progressBar1.Location = new System.Drawing.Point(58, 51);
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Size = new System.Drawing.Size(188, 20);
|
||||
this.progressBar1.Size = new System.Drawing.Size(287, 26);
|
||||
this.progressBar1.TabIndex = 2;
|
||||
//
|
||||
// Form2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(240, 51);
|
||||
this.ClientSize = new System.Drawing.Size(362, 146);
|
||||
this.Controls.Add(this.progressBar1);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
|
|
@ -75,10 +76,9 @@
|
|||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "Form2";
|
||||
this.Text = "ARCHBLOX Installer";
|
||||
this.Text = "ARCHBLOX";
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace ARCHBLOXLauncher_XP
|
|||
|
||||
private static long GetDirectorySize(string folderPath)
|
||||
{
|
||||
// get size of a directory
|
||||
// get size of a directory, important for showing the user how much space ARCHBLOX takes
|
||||
DirectoryInfo di = new DirectoryInfo(folderPath);
|
||||
return di.EnumerateFiles("*", SearchOption.AllDirectories).Sum(fi => fi.Length) / 1000000;
|
||||
}
|
||||
|
|
@ -29,65 +29,75 @@ namespace ARCHBLOXLauncher_XP
|
|||
{
|
||||
InitializeComponent();
|
||||
// setup other variables
|
||||
try {
|
||||
progressBar1.Style = ProgressBarStyle.Marquee;
|
||||
try
|
||||
{
|
||||
wc.DownloadData("http://archblox.com/client/version.txt");
|
||||
}
|
||||
catch
|
||||
{
|
||||
MessageBox.Show("Unable to connect to the ARCHBLOX servers!", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
label1.Text = "Cancelled install.";
|
||||
return;
|
||||
}
|
||||
byte[] raw = wc.DownloadData("http://archblox.com/client/version.txt");
|
||||
string webData = Encoding.UTF8.GetString(raw);
|
||||
string version_string = webData;
|
||||
string folderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Archblx\", @"Versions\");
|
||||
string clientPath = Path.Combine(folderPath, version_string + @"\");
|
||||
string filePath = Path.Combine(clientPath, Path.GetFileName(@"http://archblox.com/client/" + version_string + ".zip"));
|
||||
// setup file paths etc
|
||||
{
|
||||
if (Directory.Exists(folderPath))
|
||||
{
|
||||
// since the folder already exists, show size of folder and ask user if they want to delete older versions
|
||||
DialogResult res = MessageBox.Show("Do you want to delete previous installs of ARCHBLOX? Current size of ARCHBLOX folder: " + GetDirectorySize(folderPath) + "MB.", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
||||
if (res == DialogResult.Yes)
|
||||
{
|
||||
label1.Text = "Removing previous installs...";
|
||||
Directory.Delete(folderPath, true);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
// setup variables
|
||||
wc.DownloadProgressChanged += Client_DownloadProgressChanged;
|
||||
wc.DownloadFileCompleted += Client_DownloadFileCompleted;
|
||||
progressBar1.Style = ProgressBarStyle.Marquee;
|
||||
label1.Text = "Configuring ARCHBLOX...";
|
||||
wc.DownloadProgressChanged += Client_DownloadProgressChanged;
|
||||
wc.DownloadFileCompleted += Client_DownloadFileCompleted;
|
||||
if (Directory.Exists(clientPath))
|
||||
{
|
||||
// ask user if they want to re-install
|
||||
DialogResult res = MessageBox.Show("The latest version of ARCHBLOX is already installed. Do you want to re-install it?", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
|
||||
if (res == DialogResult.Yes)
|
||||
{
|
||||
label1.Text = "Removing previous installs...";
|
||||
Directory.Delete(clientPath, true);
|
||||
|
||||
}
|
||||
if (res == DialogResult.No)
|
||||
{
|
||||
label1.Text = "Cancelled install.";
|
||||
DontEvenBother = true;
|
||||
}
|
||||
MessageBox.Show("An error occoured while installing ARCHBLOX\n\nDetails: HttpOpenRequest failed for GET http://archblox.com/client/version.txt, Error ID: 6", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
DontEvenBother = true;
|
||||
}
|
||||
if (DontEvenBother == false)
|
||||
{
|
||||
// continue with install
|
||||
Directory.CreateDirectory(clientPath);
|
||||
wc.DownloadFileAsync(new Uri(@"http://archblox.com/client/" + version_string + ".zip"), filePath);
|
||||
progressBar1.Style = ProgressBarStyle.Blocks;
|
||||
handle.WaitOne();
|
||||
byte[] raw = wc.DownloadData("http://archblox.com/client/version.txt");
|
||||
string webData = Encoding.UTF8.GetString(raw);
|
||||
string version_string = webData;
|
||||
string folderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Archblx\", @"Versions\");
|
||||
string clientPath = Path.Combine(folderPath, version_string + @"\");
|
||||
string filePath = Path.Combine(Path.GetTempPath(), version_string + ".zip");
|
||||
// setup file paths etc
|
||||
{
|
||||
if (Directory.Exists(folderPath))
|
||||
{
|
||||
// since the folder already exists, show size of folder and ask user if they want to delete older versions
|
||||
DialogResult res = MessageBox.Show("Do you want to delete previous installs of ARCHBLOX? Current size of ARCHBLOX folder: " + GetDirectorySize(folderPath) + "MB.", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
||||
if (res == DialogResult.Yes)
|
||||
{
|
||||
label1.Text = "Removing previous installs...";
|
||||
Directory.Delete(folderPath, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
// setup variables
|
||||
wc.DownloadProgressChanged += Client_DownloadProgressChanged;
|
||||
wc.DownloadFileCompleted += Client_DownloadFileCompleted;
|
||||
label1.Text = "Configuring ARCHBLOX...";
|
||||
if (Directory.Exists(clientPath))
|
||||
{
|
||||
// ask user if they want to re-install
|
||||
DialogResult res = MessageBox.Show("The latest version of ARCHBLOX is already installed. Do you want to re-install it?", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
|
||||
if (res == DialogResult.Yes)
|
||||
{
|
||||
label1.Text = "Removing previous install...";
|
||||
Directory.Delete(clientPath, true);
|
||||
|
||||
}
|
||||
if (res == DialogResult.No)
|
||||
{
|
||||
label1.Text = "Cancelled install.";
|
||||
DontEvenBother = true;
|
||||
}
|
||||
}
|
||||
if (DontEvenBother == false)
|
||||
{
|
||||
// continue with install
|
||||
Directory.CreateDirectory(clientPath);
|
||||
wc.DownloadFileAsync(new Uri(@"http://archblox.com/client/" + version_string + ".zip"), filePath);
|
||||
progressBar1.Style = ProgressBarStyle.Blocks;
|
||||
handle.WaitOne();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Hide();
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Hide();
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
private void Client_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
|
||||
|
|
@ -101,7 +111,7 @@ namespace ARCHBLOXLauncher_XP
|
|||
string version_string = webData;
|
||||
string folderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Archblx\", @"Versions\");
|
||||
string clientPath = Path.Combine(folderPath, version_string + @"\");
|
||||
string filePath = Path.Combine(clientPath, Path.GetFileName(@"http://archblox.com/client/" + version_string + ".zip"));
|
||||
string filePath = Path.Combine(Path.GetTempPath(), version_string + ".zip");
|
||||
Extensions.UnZip(filePath, clientPath);
|
||||
File.Delete(filePath);
|
||||
label1.Text = "Installing URi...";
|
||||
|
|
@ -119,7 +129,9 @@ namespace ARCHBLOXLauncher_XP
|
|||
{
|
||||
label1.Text = "ARCHBLOX installed without URI.";
|
||||
}
|
||||
|
||||
Thread.Sleep(1000);
|
||||
this.Hide();
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,10 +11,17 @@ namespace ARCHBLOXLauncher_XP
|
|||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
if (args.Length > 0)
|
||||
{
|
||||
foreach (string s in args)
|
||||
{
|
||||
ARCHBLOXProtocol.SharedVariables.Arguments = s;
|
||||
}
|
||||
}
|
||||
Application.Run(new Form1());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.1
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
|
@ -60,6 +60,9 @@ namespace ARCHBLOXLauncher_XP.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap archblox {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("archblox", resourceCulture);
|
||||
|
|
@ -67,6 +70,9 @@ namespace ARCHBLOXLauncher_XP.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap archbloxlowres {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("archbloxlowres", resourceCulture);
|
||||
|
|
@ -74,6 +80,9 @@ namespace ARCHBLOXLauncher_XP.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap buttonblue200 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("buttonblue200", resourceCulture);
|
||||
|
|
@ -81,6 +90,9 @@ namespace ARCHBLOXLauncher_XP.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap buttongreen200 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("buttongreen200", resourceCulture);
|
||||
|
|
@ -88,18 +100,14 @@ namespace ARCHBLOXLauncher_XP.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Byte[].
|
||||
/// </summary>
|
||||
internal static byte[] Thumbs {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Thumbs", resourceCulture);
|
||||
return ((byte[])(obj));
|
||||
}
|
||||
}
|
||||
|
||||
internal static System.Drawing.Bitmap unknown {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("unknown", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,6 +118,9 @@
|
|||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="Thumbs" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Thumbs.db;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="archblox" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\archblox.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
|
@ -130,10 +133,4 @@
|
|||
<data name="buttongreen200" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\buttongreen200.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Thumbs" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Thumbs.db;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="unknown" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\unknown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.1
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 162 KiB |
Loading…
Reference in New Issue