- เข้าสู่ระบบล่าสุด
- 2012-5-14
- เวลาออนไลน์
- 81 ชั่วโมง
- จิตพิศัย
- 39
- Money
- 144
- สมัครสมาชิกเมื่อ
- 2009-12-20
- สิทธิ์ในการอ่าน
- 200
- โพสต์
- 42
- กระทู้
- 42
- สำคัญ
- 0
- เครดิต
- 39
- UID
- 1
  
- Money
- 144
- จิตพิศัย
- 39
- สมัครสมาชิกเมื่อ
- 2009-12-20
- เครดิต
- 39
- โพสต์
- 42
|
- private void showButton_Click(object sender, EventArgs e)
- {
- if (nameTextBox.Text != "")
- {
- MessageBox.Show("คุณชื่อ " + nameTextBox.Text, "ชื่อของคุณ", MessageBoxButtons.OK, MessageBoxIcon.Information);
- }else
- {
- MessageBox.Show("กรุณากรอกชื่อ", "ผิดพลาด", MessageBoxButtons.OK, MessageBoxIcon.Hand);
- nameTextBox.Focus();
- }
- }
- private void nameTextBox_TextChanged(object sender, EventArgs e)
- {
- nameLabel.Text = nameTextBox.Text;
- }
- private void endButton_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
คัดลอกไปที่คลิปบอร์ด ผลรัน |
|