public static void ShowModal(string title, string message, OnScreenModalResult onModalResult, object modalResultCookie) { UpdateClientScreen updateClientScreen = new UpdateClientScreen(title, message); updateClientScreen.OnModalResult = onModalResult; updateClientScreen.ModalResultCookie = modalResultCookie; }
public unsafe static long $Invoke1(long instance, long *args) { UpdateClientScreen.ShowModal(Marshal.PtrToStringUni(*(IntPtr *)args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)), (OnScreenModalResult)GCHandledObjects.GCHandleToObject(args[2]), GCHandledObjects.GCHandleToObject(args[3])); return(-1L); }