Designer:
- Renamed SaveSelected() to SaveObject() - Added additional commenting - Re-formatted the document - Moved the search code out from the text box and into its own method SearchForObject() - Changed search method for the text box from txtSearch_Enter to txtSearch_KeyDown - Re-write of object save code finished. Engine: - Realm.GetZone() re-wrote to use LINQ. - Zone.GetRoom() renamed to Zone.GetRoomByName() for searching for a Room by name - Zone.GetRoomByFilename() added for searching by filename for a Room. - Re-wrote Adding Zones into Realms via the UIRealmControl. Uses 54% less source, and better readability. - UIRealmEditor now stores a proper backup of Zones incase of UIRealmControl instancing failure.
This commit is contained in:
parent
af4dc2ad7a
commit
0395acb0f9
9 changed files with 256 additions and 218 deletions
|
@ -16,7 +16,7 @@ namespace MudDesigner
|
|||
{
|
||||
static class Program
|
||||
{
|
||||
public static Form CurrentEditor { get; set; }
|
||||
public static Designer Designer{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
|
@ -29,8 +29,8 @@ namespace MudDesigner
|
|||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
//Run the toolkit
|
||||
CurrentEditor = new Designer();
|
||||
Application.Run(CurrentEditor);
|
||||
Designer = new Designer();
|
||||
Application.Run(Designer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue