convert launcher to file scoped namespaces

pull/32/head
Miepee 4 years ago
parent dba7aca5f1
commit 328f74b03c

@ -6,8 +6,8 @@ using System.IO;
using System.IO.Compression;
using System.Net;
namespace AM2RLauncher
{
namespace AM2RLauncher;
/// <summary>
/// Class that checks for Updates and then Updates the Launcher.
/// </summary>
@ -225,4 +225,3 @@ namespace AM2RLauncher
}
}
}
}

@ -2,8 +2,8 @@
using Eto.Forms;
using Pablo.Controls;
namespace AM2RLauncher
{
namespace AM2RLauncher;
/// <summary>
/// Extension of <see cref="CustomButton"/> that allows for advanced color settings.
/// </summary>
@ -71,4 +71,3 @@ namespace AM2RLauncher
pe.Graphics.DrawText(Font, brush, new PointF(Width / 2 - textWidth / 2, Height / 2 - textHeight / 2), Text);
}
}
}

@ -2,8 +2,8 @@
using Eto.Forms;
using System;
namespace Pablo.Controls
{
namespace Pablo.Controls;
/// <summary>
/// A custom button implementation for advanced drawing and events.
/// Originally written by cwensley (https://gist.github.com/cwensley/95000998e37acd93e830),
@ -188,4 +188,3 @@ namespace Pablo.Controls
base.OnPaint(pe);
}
}
}

@ -1,8 +1,8 @@
using Eto.Drawing;
using System;
namespace Pablo.Controls
{
namespace Pablo.Controls;
/// <summary>
/// Extension of <see cref="CustomButton"/> that allows image assignment and drawing.
/// Originally written by cwensley (https://gist.github.com/cwensley/95000998e37acd93e830),
@ -101,5 +101,3 @@ namespace Pablo.Controls
pe.Graphics.DrawImage(image, xoffset, yoffset, size.Width, size.Height);
}
}
}

@ -12,8 +12,7 @@ using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
namespace AM2RLauncher
{
namespace AM2RLauncher;
//TODO: comment a bunch of this stuff for readability
/// <summary>
@ -956,4 +955,3 @@ namespace AM2RLauncher
#endregion
}
}

@ -9,8 +9,8 @@ using System.IO;
using System.Text.RegularExpressions;
using Configuration = System.Configuration.Configuration;
namespace AM2RLauncher
{
namespace AM2RLauncher;
public partial class MainForm : Form
{
/// <summary>
@ -236,4 +236,3 @@ namespace AM2RLauncher
log.Error(OS.Name + " has no config to transfer over!");
}
}
}

@ -4,8 +4,8 @@ using AM2RLauncherLib;
using AM2RLauncherLib.XML;
using AM2RLauncher.Language;
namespace AM2RLauncher
{
namespace AM2RLauncher;
/// <summary>
/// Everything UI/Form state machine-related goes in here
/// </summary>
@ -380,4 +380,3 @@ namespace AM2RLauncher
mirrorLabel.TextColor = !enabled ? colGreen : colInactive;
}
}
}

@ -14,8 +14,8 @@ using System.IO;
using System.Linq;
using System.Threading;
namespace AM2RLauncher
{
namespace AM2RLauncher;
/// <summary>
/// Basically our Launcher window.
/// </summary>
@ -924,4 +924,3 @@ namespace AM2RLauncher
#endregion
}
}
Loading…
Cancel
Save