Implemented CloseProject()
This commit is contained in:
parent
9c252cb0ab
commit
e35defe31c
@ -1655,7 +1655,7 @@ namespace UniversalEditor.UserInterface.WindowsForms
|
||||
CloseWindow();
|
||||
}
|
||||
}
|
||||
private void FileCloseProject_Click(object sender, EventArgs e)
|
||||
public void CloseProject()
|
||||
{
|
||||
CurrentSolution = null;
|
||||
}
|
||||
|
||||
@ -124,6 +124,10 @@ namespace UniversalEditor.UserInterface
|
||||
{
|
||||
LastWindow.CloseFile();
|
||||
});
|
||||
AttachCommandEventHandler("FileCloseProject", delegate(object sender, EventArgs e)
|
||||
{
|
||||
LastWindow.CloseProject();
|
||||
});
|
||||
AttachCommandEventHandler("FileRestart", delegate(object sender, EventArgs e)
|
||||
{
|
||||
RestartApplication();
|
||||
|
||||
@ -35,6 +35,7 @@ namespace UniversalEditor.UserInterface
|
||||
void SwitchPerspective(int index);
|
||||
|
||||
void CloseFile();
|
||||
void CloseProject();
|
||||
void CloseWindow();
|
||||
|
||||
IEditorImplementation GetCurrentEditor();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user