예제 #1
0
        private void btn_msg_Click(object sender, EventArgs e)
        {
            HappyBirthday hb = new HappyBirthday();

            MessageBox.Show("Happy Birthday " + box_fn.Text + " " + box_ln.Text);
        }
예제 #2
0
        private void btn_msg_Click(object sender, EventArgs e)
        {
            HappyBirthday hb = new HappyBirthday();

            MessageBox.Show(hb.getmessage("Happy Birthday!"));
        }