메뉴 건너뛰기

Programing

C# 게시판

메시지박스 사용하기

관리자2 2018.12.24 18:56 조회 수 : 154

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;

 

namespace ts2

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }

 

        private void txtHobby_TextChanged(object sender, EventArgs e)

        {

 

        }

 

        private void btnClick_Click(object sender, EventArgs e)

        {

            this.lblResult.Text = this.txtHobby.Text;

        }

    }

}

버튼을 누르면 각각에 맞는 메시지박스가 생성 됩니다.
위로