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:
Scionwest_cp 2010-01-19 07:01:44 -08:00
parent a98e2bc069
commit af4dc2ad7a
2 changed files with 49 additions and 86 deletions

View file

@ -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);
}
}
}
}