public static string EndShowKeyboardInput(IAsyncResult result) { try { ShowKeyboardInputDelegate ski = (ShowKeyboardInputDelegate)result.AsyncState; return(ski.EndInvoke(result)); } finally { isVisible = false; } }
public static string EndShowKeyboardInput(IAsyncResult result) { #if !WINDOWS_UAP ShowKeyboardInputDelegate ski = (ShowKeyboardInputDelegate)result.AsyncState; return(ski.EndInvoke(result)); #else throw new NotImplementedException(); #endif }
public static string EndShowKeyboardInput(IAsyncResult result) { #if WINDOWS_PHONE // Call the Microsoft implementation of BeginShowKeyboardInput using an alias. return(MsXna_Guide.EndShowKeyboardInput(result)); #else ShowKeyboardInputDelegate ski = (ShowKeyboardInputDelegate)result.AsyncState; return(ski.EndInvoke(result)); #endif }
public static IAsyncResult BeginShowKeyboardInput( PlayerIndex player, string title, string description, string defaultText, AsyncCallback callback, Object state, bool usePasswordMode) { ShowKeyboardInputDelegate ski = ShowKeyboardInput; return(ski.BeginInvoke(player, title, description, defaultText, usePasswordMode, callback, ski)); }
public static IAsyncResult BeginShowKeyboardInput( PlayerIndex player, string title, string description, string defaultText, AsyncCallback callback, Object state, bool usePasswordMode) { AssertInitialised(); if (IsVisible) { throw new GuideAlreadyVisibleException("The function cannot be completed at this time: the Guide UI is already active. Wait until Guide.IsVisible is false before issuing this call."); } ShowKeyboardInputDelegate ski = ShowKeyboardInput; return(ski.BeginInvoke(title, description, defaultText, state, usePasswordMode, callback, ski)); }
public static IAsyncResult BeginShowKeyboardInput( MGXna_Framework.PlayerIndex player, string title, string description, string defaultText, AsyncCallback callback, Object state, bool usePasswordMode) { #if !WINDOWS_UAP ShowKeyboardInputDelegate ski = ShowKeyboardInput; return(ski.BeginInvoke(player, title, description, defaultText, usePasswordMode, callback, ski)); #else throw new NotImplementedException(); #endif }
public static IAsyncResult BeginShowKeyboardInput( PlayerIndex player, string title, string description, string defaultText, AsyncCallback callback, Object state, bool usePasswordMode) { #if WINDOWS_PHONE // Call the Microsoft implementation of BeginShowKeyboardInput using an alias. return(MsXna_Guide.BeginShowKeyboardInput((MsXna_PlayerIndex)player, title, description, defaultText, callback, state, usePasswordMode)); #else ShowKeyboardInputDelegate ski = ShowKeyboardInput; return(ski.BeginInvoke(player, title, description, defaultText, usePasswordMode, callback, ski)); #endif }
public static string EndShowKeyboardInput(IAsyncResult result) { ShowKeyboardInputDelegate ski = (ShowKeyboardInputDelegate)result.AsyncState; return(ski.EndInvoke(result)); }