摘要: 添加form的FormClosing事件 /// <summary> /// 主窗口自带的关闭按钮 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { DialogResult result; result = MessageBox. 阅读全文
posted @ 2012-12-23 17:07 Entropy_lxl 阅读(735) 评论(0) 推荐(0) 编辑
摘要: /*评论超连接*/ LinkLabel llb = new LinkLabel(); //llb.Links[0].LinkData = "http://www.163.com"; llb.Text = "评论"; llb.AutoSize = true; llb.Location = new Point(270, 100 + i * 90); this.panel1.Controls.Add(llb); //注册标签的三个事件 llb.MouseLeave += new System.EventHandler(this.mouseLeave); llb 阅读全文
posted @ 2012-12-23 12:24 Entropy_lxl 阅读(4314) 评论(0) 推荐(0) 编辑