- 博客(3)
- 收藏
- 关注
转载 c# winform 防止窗体多次打开
在使用MDI子窗体时,如果仅仅是使用 from.show() 代码,那么我们单击几次菜单,就会打开几个同样的子窗体。可以用这段代码防止这种情况。 首先添加一个函数,这个函数用于检测指定的子窗体是否已经打开,如果打开则激活这个子窗体,否则返回false值 private bool ShowChildrenForm(string p_ChildrenFormT...
2017-01-09 10:39:00
605
转载 MVC架构 使用FastReport
1.Web.config文件添加配置<httpHandlers> <add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/> </httpHandlers>2.在包含views的文件夹中webconfig中加入以下...
2016-11-30 16:31:00
596
转载 asp.net Forms身份验证
Web.config中的配置<system.web><authentication mode="Forms"> <forms name="KMAUTH" loginUrl="~/Login" defaultUrl="~/Login" protection="All" timeout="40" p...
2016-11-30 09:57:00
78
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人