摘要: 阅读全文
posted @ 2013-07-20 22:21 秋水惜朝 阅读(125) 评论(0) 推荐(0)
摘要: 设计如下:代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace SampleTextEditor{ public partial class Form1 : Form { public Form1() { In... 阅读全文
posted @ 2013-07-20 16:01 秋水惜朝 阅读(255) 评论(0) 推荐(0)
摘要: buttonOK的代码修改:private void button3_Click(object sender, EventArgs e) { string output; output = "Name:" + this.textBoxName.Text + "\r\n"; output += "Address:" + this.textBoxAddress.Text + "\r\n"; output += "职业:" + (string)(this.checkBox1.Checked ? &qu 阅读全文
posted @ 2013-07-20 14:33 秋水惜朝 阅读(171) 评论(0) 推荐(0)
摘要: 第一步:设计界面如下:第二步为其空间添加属性:因时间限制,附上截图 } /// /// buttonOK的事件 /// /// /// private void button3_Click(object sender, EventArgs e) { string output; output = "Name:" + this.textBoxName.Text + "\r\n"; output += "Address:" +... 阅读全文
posted @ 2013-07-20 11:34 秋水惜朝 阅读(145) 评论(0) 推荐(0)