public void AddDisplayRegion(Window callingWindow)
{
TextInputWindow textInputWindow = GuiManager.ShowTextInputWindow(
"Enter name for new Display Region", "Enter Name");
textInputWindow.Text =
FileManager.RemovePath(GuiData.TextureCoordinatesSelectionWindow.DisplayedTexture.Name) +
" Sub" + (GuiData.ListWindow.TextureListBox.GetItem(GuiData.TextureCoordinatesSelectionWindow.DisplayedTexture).Count + 1);
textInputWindow.OkClick += AddDisplayRegionOk;
}