public override void OnShowText(string title, string data) { base.OnShowText(title, data); if (FormMain != null) { FormMain.OnShowText(title, data); } }
public override Json Command(Json data) { string cmd = data["command"].Value as string; if (cmd == "ui.show.manifest") { MainWindow.OnShowText("Json Data", Data.ToJsonPretty()); return(null); } else { return(Engine.UiManager.SendCommand(data, this)); } }