private void AddSpriteFrameClick(Window callingWindow) { FileWindow tempFileWindow = GuiManager.AddFileWindow(); tempFileWindow.SetFileType("graphic and animation"); tempFileWindow.ShowLoadDirButton(); tempFileWindow.betweenLoadFolder += new BetweenLoadFolder(MoveCameraToTheRight); tempFileWindow.OkClick += new GuiMessage(this.AddSpriteFrameOk); }