• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
icestream
博客园    首页    新随笔    联系   管理    订阅  订阅
2010年1月26日
showModalDialog和showModelessDialog使用心得
摘要: 一、showModalDialog和showModelessDialog有什么不同?  showModalDialog:被打开后就会始终保持输入焦点。除非对话框被关闭,否则用户无法切换到主窗口。类似alert的运行效果。  showModelessDialog:被打开后,用户可以随机切换输入焦点。对主窗口没有任何影响(最多是被挡住一下而以。:P)二、怎样才让在showModalDialog和sho... 阅读全文
posted @ 2010-01-26 09:40 icestream 阅读(134) 评论(0) 推荐(0)
2010年1月25日
网页对话框
摘要: <!--网页对话框--><scriptlanguage=JavaScript>functionabout(){window.showModalDialog("文件名","ABOUT","dialogwidth:300px;dialogheight:150px;center:yes;status:no;scroll:no;help:no");}</script>&... 阅读全文
posted @ 2010-01-25 14:39 icestream 阅读(309) 评论(0) 推荐(0)
2010年1月19日
辛辛苦苦整合的TextArea设置MaxLength的代码
摘要: Javascript代码view plaincopy to clipboardprint?functionSetTextAreaMaxLength(controlId,length) { //JScriptFileforTextArea //KeepuserfromenteringmorethanmaxLengthcharacters functiondoKeypress(control,leng... 阅读全文
posted @ 2010-01-19 09:21 icestream 阅读(807) 评论(0) 推荐(0)
2010年1月7日
DeleGate委托与线程之间的例子讲解
摘要: 使用接口的方法: using System; public class Student { private IAdviser adviser; public void SetAdviser(IAdviser iadviser) { adviser = iadviser; } private int score; public void SetScore(int value) { if (... 阅读全文
posted @ 2010-01-07 17:42 icestream 阅读(301) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3