- เข้าสู่ระบบล่าสุด
- 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 Form1_Load(object sender, EventArgs e)
- {
- showLabel.Text = "";
- }
- private void clearButton_Click(object sender, EventArgs e)
- {
- showLabel.Text = "";
- mRadioButton.Checked = false;
- fRadioButton.Checked = false;
- singleRadioButton.Checked = false;
- marryRadioButton.Checked = false;
- widowRadioButton.Checked = false;
- marry_cancelRadioButton.Checked = false;
- }
- private void endButton_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- string strGender = "", strStatus = "";
- if (mRadioButton.Checked == true)
- {
- strGender = mRadioButton.Text;
- }
- if (fRadioButton.Checked == true)
- {
- strGender = fRadioButton.Text;
- }
- if (singleRadioButton.Checked == true)
- {
- strStatus = singleRadioButton.Text;
- }
- else if (marryRadioButton.Checked == true)
- {
- strStatus = marryRadioButton.Text;
- }
- else if (widowRadioButton.Checked == true)
- {
- strStatus = widowRadioButton.Text;
- }
- else if (marry_cancelRadioButton.Checked == true)
- {
- strStatus = marry_cancelRadioButton.Text;
- }
- showLabel.Text = "คุณเลือกเพศ " + strGender + " และสถานะ " + strStatus;
- }
คัดลอกไปที่คลิปบอร์ด ผลรัน |
|