Designer:
- Re-wrote the Object Delete code. Reduced the code by 52% and increased readability. - Added additional search criteria to GetNodeType() - Removed the Application from running within a Try/Catch as it made debugging difficult.
This commit is contained in:
parent
a98e2bc069
commit
af4dc2ad7a
2 changed files with 49 additions and 86 deletions
|
@ -29,15 +29,8 @@ namespace MudDesigner
|
|||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
//Run the toolkit
|
||||
try
|
||||
{
|
||||
CurrentEditor = new Designer();
|
||||
Application.Run(CurrentEditor);
|
||||
}
|
||||
catch (Exception msg)
|
||||
{
|
||||
MessageBox.Show("Critical error!\n\n" + msg + "\n\nMud Designer shut down occured.", "Mud Designer", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue