fixs spaces into tabs in a bunch of files because I'm tired of fixing it gradually

This commit is contained in:
andres.delikat 2011-06-19 23:39:25 +00:00
parent 38422fda10
commit 5bda595ee7
19 changed files with 2926 additions and 2914 deletions

View File

@ -107,6 +107,7 @@
this.Name = "ArchiveChooser"; this.Name = "ArchiveChooser";
this.ShowIcon = false; this.ShowIcon = false;
this.Text = "Choose File From Archive"; this.Text = "Choose File From Archive";
this.Load += new System.EventHandler(this.ArchiveChooser_Load);
this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();

View File

@ -51,5 +51,10 @@ namespace BizHawk.MultiClient
DialogResult = DialogResult.OK; DialogResult = DialogResult.OK;
Close(); Close();
} }
private void ArchiveChooser_Load(object sender, EventArgs e)
{
}
} }
} }

View File

@ -17,7 +17,8 @@ namespace BizHawk.MultiClient
Global.Config = ConfigService.Load<Config>(PathManager.DefaultIniPath); Global.Config = ConfigService.Load<Config>(PathManager.DefaultIniPath);
try { Global.DSound = new DirectSound(); } try { Global.DSound = new DirectSound(); }
catch { catch
{
MessageBox.Show("Couldn't initialize DirectSound!"); MessageBox.Show("Couldn't initialize DirectSound!");
return; return;
} }
@ -29,7 +30,8 @@ namespace BizHawk.MultiClient
Global.Config.ForceGDI = true; Global.Config.ForceGDI = true;
} }
try { try
{
if (Global.Config.SingleInstanceMode) if (Global.Config.SingleInstanceMode)
{ {
SingleInstanceController controller = new SingleInstanceController(args); SingleInstanceController controller = new SingleInstanceController(args);
@ -41,9 +43,13 @@ namespace BizHawk.MultiClient
mf.Show(); mf.Show();
mf.ProgramRunLoop(); mf.ProgramRunLoop();
} }
} catch (Exception e) { }
catch (Exception e)
{
MessageBox.Show(e.ToString(), "Oh, no, a terrible thing happened!\n\n" + e.ToString()); MessageBox.Show(e.ToString(), "Oh, no, a terrible thing happened!\n\n" + e.ToString());
} finally { }
finally
{
if (Global.DSound != null && Global.DSound.Disposed == false) if (Global.DSound != null && Global.DSound.Disposed == false)
Global.DSound.Dispose(); Global.DSound.Dispose();
if (Global.Direct3D != null && Global.Direct3D.Disposed == false) if (Global.Direct3D != null && Global.Direct3D.Disposed == false)