HyperDbg/hyperdbg/hyperdbg-gui/WindowManager/AddWindow.cs
2020-04-10 01:32:59 -07:00

20 lines
566 B
C#

using System.Windows.Forms;
namespace hyperdbg_gui.WindowManager
{
class AddWindow
{
// return is an id which describes the control
public static void CreateCommandWindow(Form MdiParrent)
{
// Make it globally available
hyperdbg_gui.Details.GlobalVariables.CommandWindow = new CommandWindow();
// Show command View
hyperdbg_gui.Details.GlobalVariables.CommandWindow.MdiParent = MdiParrent;
hyperdbg_gui.Details.GlobalVariables.CommandWindow.Show();
}
}
}