Language/C#
C# winform 에서 AboutBox 만들기
RAY.D
2015. 8. 28. 08:47
1. 추가 -> windows form
2. Windows Forms 에서 정보상자 or AboutBox 생성.
3. 폼 디자인은 알아서.... 기본적으로 제품이름, 버전, 저작권, 회사이름, 설명등이 적혀있다.
4. About Box에 노출되는 Title 이나 Product 정보는 보통 AssemblyInfo.cs 파일에 있으니
수정을 원하면 여기에서 수정
[assembly: AssemblyTitle("")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
5. main form 에서 메뉴등 만들어서 클릭이벤트에 붙여주면 끝
private void menuAbout_Click(object sender, EventArgs e)
{
AboutBox1 box = new AboutBox1();
box.ShowDialog();
}