U E D R , A S I H C RSS

데블스캠프2012/넷째날/묻지마Csharp/Mission2/서민관

private void pushButton_Click(object sender, EventArgs e)
        {
            int oldYear = dateTimePicker1.Value.Year;
            int currentYear = dateTimePicker2.Value.Year;

            MessageBox.Show(currentYear - oldYear +1 + "세 입니다");
        }
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2012-06-28 14:55:46
Processing time 0.0114 sec