非淡泊无以明志,非宁静无以致远 -心静如止水,动于静

05 2011 档案

摘要:Q:在开发web-browser based的infopath表单是否可以弹出messageBox?A: infoPath本身没有这样的函数,虽然有MessageBox.Show(),但这个函数只用于windows desktop app.在web中可以用this.InfoViews.SwitchView()来模拟messagebox和confirm窗口Q:在web browser based infopath表单handle submit事件为什么不work?A:只要在form submit option中选择了允许送出表单,并且是以编程方式送出,那么在页面上有submit按钮就可以击活su 阅读全文
posted @ 2011-05-20 14:27 烟雨客 阅读(213) 评论(0) 推荐(0) 编辑
摘要:You can use Help.ShowHelp(). also you can use helpProvider get parameter such as helpProvider.getHelpKeyword and then call browser to pass a URL to it. private void ExecUrl(string url) { ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe"); startInfo.WindowStyle = ProcessWindo 阅读全文
posted @ 2011-05-08 00:08 烟雨客 阅读(218) 评论(0) 推荐(0) 编辑
摘要:I am doing the project, a toolstrip on a form, and this toolstrip has a image background. but, I find the seperator is fit on toolstrip's height when toolstrip's dock = full. looks not good.to control seperator as text's height, you should set toolstrip's padding value. padding is sp 阅读全文
posted @ 2011-05-07 22:27 烟雨客 阅读(176) 评论(0) 推荐(0) 编辑