some more DiscoHawk reorg
This commit is contained in:
parent
426c628fdf
commit
049e45a7f4
|
@ -53,6 +53,7 @@
|
|||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "OK";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// lblVersion
|
||||
//
|
||||
|
|
|
@ -21,5 +21,10 @@ namespace BizHawk.Client.DiscoHawk
|
|||
{
|
||||
System.Diagnostics.Process.Start(e.LinkText);
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\BizHawk.MultiClient\output\</OutputPath>
|
||||
<OutputPath>..\BizHawk.Client.EmuHawk\output\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG;WINDOWS</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
|
@ -48,7 +48,7 @@
|
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\BizHawk.MultiClient\output\</OutputPath>
|
||||
<OutputPath>..\BizHawk.Client.EmuHawk\output\</OutputPath>
|
||||
<DefineConstants>TRACE;WINDOWS</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
|
|
|
@ -19,8 +19,8 @@ namespace BizHawk.Client.DiscoHawk
|
|||
{
|
||||
static Program()
|
||||
{
|
||||
//http://www.codeproject.com/Articles/310675/AppDomain-AssemblyResolve-Event-Tips
|
||||
#if WINDOWS
|
||||
//http://www.codeproject.com/Articles/310675/AppDomain-AssemblyResolve-Event-Tips
|
||||
// this will look in subdirectory "dll" to load pinvoked stuff
|
||||
string dllDir = System.IO.Path.Combine(GetExeDirectoryAbsolute(), "dll");
|
||||
SetDllDirectory(dllDir);
|
||||
|
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
@ -37,7 +38,7 @@ namespace BizHawk.Client.DiscoHawk
|
|||
nValue = 0;
|
||||
progressBar1.Value = nValue;
|
||||
}
|
||||
lblMessage.Text = pr.Message + " - " + progressBar1.Value.ToString() + "%";
|
||||
lblMessage.Text = pr.Message + " - " + progressBar1.Value.ToString(CultureInfo.CurrentCulture) + "%";
|
||||
}
|
||||
|
||||
private void ProgressDialog_Load(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in New Issue