==> FrmAbout.cs



using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace MyWinForms
{
    public partial class FrmAbout : Form
    {
        public FrmAbout()
        {
            InitializeComponent();
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            // 현재 폼 닫기
            this.Close();
        }

        private void lnkAuthor_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            string url = "http://www.dotnetkorea.com/";
            System.Diagnostics.Process.Start(url); // 위 경로 띄우기

            Process.Start("notepad.exe"); // 실행 창에서 여는 명령어
            //Process.Start("mspaint"); // 그림판
            //Process.Start("inetmgr"); // IIS 웹 서버
        }
    }
}



< 실행결과 >

--> '도구상자'에서 '폼'으로 링크레이블(LinkLabel) 드래그 & 드롭





--> '작성자' 텍스트가 있는 쪽은 '레이블' / 아래 파란색 텍스트로 되어있는 부분은 '링크레이블'이다.





--> 링크 클릭 후 실행된 결과화면




Posted by holland14
: