坚持不懈,努力不断

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  13 随笔 :: 1 文章 :: 47 评论 :: 1 引用

公告

05 2007 档案

摘要: 大家可能在做login窗体时,会发现要是其中一个是由另一个弹出的,关掉主窗体,另一个窗体也会关闭。比如说有2个窗体,一个名字叫Login,另一个叫MainForm,我们在Login里写上dim f as new mainformf.showme.close这样当你运行时,login关闭时,mainform也关闭了。解决方法很简单:就是在Login里写上dim f as new mainformf....阅读全文
posted @ 2007-05-10 19:32 大傻 阅读(67) | 评论 (0) 编辑

摘要: 最近作了一个项目要求与AD连接来进行权限控制。想法是Imports System.Security.PrincipalImports System.Security.Permissions代码是下面Private idWindows As WindowsIdentityPrivate prinWindows As WindowsPrincipalidWindows = WindowsIdentit...阅读全文
posted @ 2007-05-09 20:11 大傻 阅读(83) | 评论 (0) 编辑

摘要: 在textbox中自动加上style="overflow-y:hidden"或者写入代码:TextBoxID.Attributes.Add("style", "overflow-y:hidden")阅读全文
posted @ 2007-05-07 11:56 大傻 阅读(2690) | 评论 (0) 编辑

posted @ 2007-05-07 11:55 大傻 阅读(158) | 评论 (0) 编辑

posted @ 2007-05-07 11:37 大傻 阅读(51) | 评论 (0) 编辑