首页 \ 问答 \ 钩紧密(X)按钮在紧凑的框架appliacation(Hook close (X) button in compact framework appliacation)

钩紧密(X)按钮在紧凑的框架appliacation(Hook close (X) button in compact framework appliacation)

我想通过轻敲(单击)在紧凑框架应用程序中关闭按钮(右上角的X)执行我自己的操作。 我正在使用Windows Mobile 6.1。

Usualy我想要默认行为,但有时我想改变当前窗体上的usercontrol。 我怎样才能达到它?

谢谢!


I want to do my own action on tap (click) to close button ( X in right top corner ) in compact framework appliaction. I'm using Windows Mobile 6.1.

Usualy I want default behaviour, but sometimes I want to change the usercontrol on current form. How can I reach it?

Thanks!


原文:https://stackoverflow.com/questions/678115
更新时间:2023-11-21 20:11

最满意答案

如果使用自动代理检测不起作用,您可以在web.config中提供代理配置,例如:

<system.net>
  <defaultProxy useDefaultCredentials="true">
    <proxy usesystemdefault="false" scriptLocation="http://<your_proxy_server>/<pac_file>.pac"/>
  </defaultProxy>
</system.net>

If this isn't working using automatic proxy detection, you could provide the proxy configuration in your web.config, e.g.:

<system.net>
  <defaultProxy useDefaultCredentials="true">
    <proxy usesystemdefault="false" scriptLocation="http://<your_proxy_server>/<pac_file>.pac"/>
  </defaultProxy>
</system.net>

相关问答

更多
  • 解析度 为了让我得到IIS 7来协商身份验证,因为我必须将applicationHost.config文件中的虚拟目录的windowsAuthentication元素的useAppPoolCredentials设置为true。 这是通过执行以下任一命令完成的: %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/security/authentication/windowsAuthentication -useA ...
  • 真正的问题是,我在“真正的”非托管库中有代码,该代码将文件保存到%Temp%文件夹中而没有写入权限。 因为该操作没有引发任何类型的异常并且只是默默地失败了,我花了一段时间才明白后续代码在该操作上成功处于某种“死锁”状态,因此“挂起”的原因“行为。 现在,它在IISExpress下工作,因为正如@AdrianoRepetti所述,IISExpress以迭代会话模式运行,因此%Temp%文件夹直接与登录用户相关联(在\ Users {MyUser} \ Local \ Temp下 ),因此写入该用户的权限。 在 ...
  • 如果使用自动代理检测不起作用,您可以在web.config中提供代理配置,例如: If this isn't working usin ...
  • 问题与导入模块无关; powershell对于引导您解决问题并不是很有帮助。 在我将-VERBOSE开关置于导入之前,问题的根本没有揭示它的自我。 一旦我这样做,我得到一个新的错误高于旧的错误。 :参数属性需要是常量或脚本块。 FullyQualifiedErrorId: ParameterAttributeArgumentNeedsToBeConstandOrScriptBlock 基本上,我使用的是带双引号而不是单引号的ValidatePattern 。 使用ValidatePattern时,请检查并确 ...
  • 好的,再次找到我自己的答案。 进程w3wp.exe在DefaultAppPool用户下运行,而不是在NETWORK SERVICE下运行。 我不知道为什么它不能在NETWORK SERVICE下运行,但经过一些研究后发现该进程需要访问C:\Windows\System32\inetsrv\config\schema并且给予NETWORK SERVICE访问权限并没有改变任何东西。 我巧合地找到了关于DefaultAppPool用户的地方,给了读权限,并且通过启动池,我的所有网站都开始完美运行。 非常奇怪,我 ...
  • 您看到的错误是RPC_E_SERVERFAULT ,这意味着进程外COM服务器中存在未处理的Win32异常(例如,可能是访问冲突)。 如果COM服务器既没有源代码也没有调试符号,则您不太可能自行诊断或修复它。 (编辑:除非它明显像64位机器上的“bitness”不匹配:-)) 选项: 如果您应该能够在服务帐户的上下文中激活服务器并使用其COM对象,那么您需要向服务器的供应商提出这个问题并让他们进行诊断和修复; 您可以使用DCOMCNFG.EXE(标识选项卡)将COM服务器配置为以您的身份而不是默认(即“启动 ...
  • 我最终使用了以下解决方法: 在IIS上,在%System32%/ inetsrv / config / applicationHost.config中,我在system.webServer / rewrite / globalRules / rule [name = ARR *]中添加了以下代码段: 然后我将该名称指定给T ...
  • 根据您对Joe上面的评论的回答,您没有在本地计算机上启用SMTP。 Vista不附带SMTP。 因此,您要么必须安装将在Vista上运行的第三方SMTP应用程序,要么使用其他应用程序进行发送,在这种情况下,您的Hotmail帐户可能允许您通过它发送传出。 我不使用Hotmail所以不知道它是否会,但它应该像smtp.hotmail.com和你的凭据。 我的主要帐户是一个Gmail帐户,所以我可以通过smtp.gmail.com使用它,当然还有我的凭据。 Based on your answers to my ...
  • 您已经看过https://blogs.msdn.microsoft.com/sqlexpress/2011/12/08/using-localdb-with-full-iis-part-2-instance-ownership/ 它说你基本上有3个选项, 运行IIS作为你的ID(坏主意), 将localdb作为共享实例运行,或者 使用SQL Express 后者可能是最好的建议。 You've already seen https://blogs.msdn.microsoft.com/sqlexpress/ ...
  • 事实证明,您需要首次启动关联的IIS应用程序,然后才能在Windows GUI中看到您的应用程序池! Turns out you need to start the associated IIS application for the first time before you can see your application pool in the windows GUI!

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)