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

            MessageBox.Show(hb.GetMessage("Hanna"));
            this.Close();
        }
예제 #2
0
        private void btn_GetMessage_Click(object sender, EventArgs e)
        {
            Happybirthday hb = new Happybirthday();

            MessageBox.Show("Happy Birthday " + txtbox_Fname.Text + " " + txtbox_Lname.Text);
        }