Fly

努力的飞翔!
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

文章分类 -  Winform程序

摘要:一、Debug 和 Release 编译方式的本质区别 Debug 通常称为调试版本,它包含调试信息,并且不作任何优化,便于程序员调试程序。Release 称为发布版本,它往往是进行了各种优化,使得程序在代码大小和运行速度上都是最优的,以便用户很好地使用。 Debug 和 Release 的真正秘密,在于一组编译选项。下面列出了分别针对二者的选项(当然除此之外还有其他一些,... 阅读全文

posted @ 2008-07-17 08:44 nyflying 阅读(302) 评论(0) 推荐(0)

摘要:1、自定义列 Customize Cells and Columns in the Windows Forms DataGridView Control by Extending Their Behavior and Appearance Host Controls in Windows Forms DataGridView Cells 继承 DataGri... 阅读全文

posted @ 2008-03-29 15:46 nyflying 阅读(243) 评论(0) 推荐(0)

摘要:1: MailMessage mail = new MailMessage(); 2: Encoding chtEnc = Encoding.GetEncoding(950); 3: mail.From = new MailAddress("peter@chicken-house.net", "吴小皮", chtEnc); 4: mail.To.Add(new MailAddress("an... 阅读全文

posted @ 2008-03-29 15:40 nyflying 阅读(532) 评论(1) 推荐(0)

摘要:1.在主窗体中添加一个 NotifyIcon 控件-notifyIcon1 2.在主窗体中添加一个 ContextMenu 控件-contextMenu1,并添加菜单项 3.设置 notifyIcon1 的属性: 将notifyIcon1.ContextMenu 设置为 contextMenu1 notifyIcon1.Visible = true notifyI... 阅读全文

posted @ 2008-03-29 15:38 nyflying 阅读(423) 评论(0) 推荐(0)