2011年7月29日 星期五

禁用輸入法

System.Windows.Input.InputMethod.SetIsInputMethodEnabled([要禁用的控制項], false);

沒有留言:

自訂權限驗證機制

// 使用 filter [Route("api/[controller]")] [ApiController] [Authorize] [TypeFilter(typeof(CustomAsyncAuthorizationFilter))] public c...