public void RegisterEventFunction(string var, LuaTranslator lt) { if (var == "TagRead") { tagRead = lt; } }
public void RegisterEventFunction(string var, LuaTranslator lt) { if (var == "OnFinish") { onComplete = lt; } else if (var == "OnFail") { onFail = lt; } }
public void SetNegativeButton(String title, LuaTranslator action) { #if WINDOWS_PHONE ((CustomMessageBox)dialog).RightButtonContent = title; #elif NETFX_CORE if (dialog.DefaultCommandIndex == 0 && dialog.CancelCommandIndex == 0) { dialog.Commands.Clear(); } dialog.Commands.Add(new UICommand(title, new UICommandInvokedHandler((cmd) => { OnPositiveButton.CallIn(cmd); }))); dialog.CancelCommandIndex = (uint)dialog.Commands.Count; #endif OnNegativeButton = action; }
public void RegisterEventFunction(string var, LuaTranslator lt) { }
public void RegisterEventFunction(string var, LuaTranslator lt) { throw new NotImplementedException(); }