mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-23 13:41:15 +01:00
Move Forms to seperate namespace
This commit is contained in:
parent
78dcbe666c
commit
f01c86deee
2
DS4Windows/DS4Forms/DS4Form.Designer.cs
generated
2
DS4Windows/DS4Forms/DS4Form.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class DS4Form
|
||||
{
|
||||
|
@ -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
|
||||
|
2
DS4Windows/DS4Forms/DS4Keyboard.Designer.cs
generated
2
DS4Windows/DS4Forms/DS4Keyboard.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class DS4Keyboard
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
2
DS4Windows/DS4Forms/DupBox.Designer.cs
generated
2
DS4Windows/DS4Forms/DupBox.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class DupBox
|
||||
{
|
||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
public partial class DupBox : Form
|
||||
{
|
||||
|
2
DS4Windows/DS4Forms/Hotkeys.Designer.cs
generated
2
DS4Windows/DS4Forms/Hotkeys.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class Hotkeys
|
||||
{
|
||||
|
@ -5,7 +5,7 @@ using System.Reflection;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
public partial class Hotkeys : Form
|
||||
{
|
||||
|
2
DS4Windows/DS4Forms/KBM360.Designer.cs
generated
2
DS4Windows/DS4Forms/KBM360.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class KBM360
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
2
DS4Windows/DS4Forms/Options.Designer.cs
generated
2
DS4Windows/DS4Forms/Options.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class Options
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
2
DS4Windows/DS4Forms/RecordBox.Designer.cs
generated
2
DS4Windows/DS4Forms/RecordBox.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class RecordBox
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
2
DS4Windows/DS4Forms/SaveWhere.Designer.cs
generated
2
DS4Windows/DS4Forms/SaveWhere.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class SaveWhere
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
2
DS4Windows/DS4Forms/SpecActions.Designer.cs
generated
2
DS4Windows/DS4Forms/SpecActions.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class SpecActions
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
public partial class SpecActions : Form
|
||||
{
|
||||
|
2
DS4Windows/DS4Forms/WelcomeDialog.Designer.cs
generated
2
DS4Windows/DS4Forms/WelcomeDialog.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class WelcomeDialog
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
2
DS4Windows/DS4Forms/WinProgs.Designer.cs
generated
2
DS4Windows/DS4Forms/WinProgs.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace DS4Windows
|
||||
namespace DS4Windows.Forms
|
||||
{
|
||||
partial class WinProgs
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user