Move Forms to seperate namespace

This commit is contained in:
Travis Nickles 2019-04-30 14:29:50 -05:00
parent 78dcbe666c
commit f01c86deee
24 changed files with 27 additions and 27 deletions

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class DS4Form
{

View File

@ -19,7 +19,7 @@ using static DS4Windows.Global;
using System.Security;
using System.Management;
namespace DS4Windows
namespace DS4Windows.Forms
{
[SuppressUnmanagedCodeSecurity]
public partial class DS4Form : Form

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class DS4Keyboard
{

View File

@ -8,7 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class DS4Keyboard : Form
{

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class DupBox
{

View File

@ -9,7 +9,7 @@ using System.Threading.Tasks;
using System.Windows.Forms;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class DupBox : Form
{

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class Hotkeys
{

View File

@ -5,7 +5,7 @@ using System.Reflection;
using System.Diagnostics;
using System.Drawing;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class Hotkeys : Form
{

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class KBM360
{

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class KBM360 : Form
{

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class Options
{

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.IO;
using static DS4Windows.Global;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class Options : Form
{

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class RecordBox
{

View File

@ -9,7 +9,7 @@ using NonFormTimer = System.Timers.Timer;
using System.IO;
using System.Reflection;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class RecordBox : Form
{

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class SaveWhere
{

View File

@ -12,7 +12,7 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class SaveWhere : Form
{

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class SpecActions
{

View File

@ -10,7 +10,7 @@ using System.Windows.Forms;
using System.IO;
using System.Xml;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class SpecActions : Form
{

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class WelcomeDialog
{

View File

@ -11,7 +11,7 @@ using NonFormTimer = System.Timers.Timer;
using System.Threading.Tasks;
using static DS4Windows.Global;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class WelcomeDialog : Form
{

View File

@ -1,4 +1,4 @@
namespace DS4Windows
namespace DS4Windows.Forms
{
partial class WinProgs
{

View File

@ -12,7 +12,7 @@ using System.Diagnostics;
using System.Threading.Tasks;
using static DS4Windows.Global;
namespace DS4Windows
namespace DS4Windows.Forms
{
public partial class WinProgs : Form
{

View File

@ -35,7 +35,7 @@ namespace DS4Windows
if (s == "driverinstall" || s == "-driverinstall")
{
Application.EnableVisualStyles();
Application.Run(new WelcomeDialog(true));
Application.Run(new Forms.WelcomeDialog(true));
return;
}
else if (s == "re-enabledevice" || s == "-re-enabledevice")
@ -109,7 +109,7 @@ namespace DS4Windows
createControlService();
//rootHub = new ControlService();
Application.EnableVisualStyles();
ds4form = new DS4Form(args);
ds4form = new Forms.DS4Form(args);
Application.Run();
//mutex.ReleaseMutex();
//}
@ -166,10 +166,10 @@ namespace DS4Windows
private delegate void SetFormVisableDelegate(Form frm);
private static void ThreadFormVisable(Form frm)
{
if (frm is DS4Form)
if (frm is Forms.DS4Form)
{
// display the form and bring to foreground.
DS4Form temp = (DS4Form)frm;
Forms.DS4Form temp = (Forms.DS4Form)frm;
temp.Show();
temp.WindowState = FormWindowState.Normal;
}

View File

@ -1,7 +1,7 @@
# TODO
* Re-evaluate HidGuardian
* Move forms to new namespace
* ~~Move forms to new namespace~~
* ~~Finalize DS4 Emulation~~
* ~~Raise Sixaxis default dead zones~~
* ~~Evaluate latest ViGEmBus driver and update download URL~~