void AddSpriteOk(Window callingWindow) { string result = ((FileWindow)callingWindow).Results[0]; EditorData.AddSprite(result); }