Skip to content

Commit

Permalink
버전 정보, 프로젝트 링크 화면에 삽입
Browse files Browse the repository at this point in the history
  • Loading branch information
SD810 committed Aug 17, 2018
1 parent 03655d4 commit 0566dcc
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 12 deletions.
50 changes: 38 additions & 12 deletions FairSeatAssignment/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions FairSeatAssignment/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ namespace FairSeatAssignment
{
public partial class MainForm : Form
{
const string VERSION_NAME = "rev09";

TRandom m_rng; // 난수 생성기
CheckBox[] m_totalSeats; // 전체 좌석
List<CheckBox> m_seats; // 유효 좌석
Expand Down Expand Up @@ -51,6 +53,9 @@ public MainForm()

private void MainForm_Load(object sender, EventArgs e)
{
//버전 정보 폼에 삽입
lblVersion.Text = VERSION_NAME;

// Random 객체 초기화
m_rng = new TRandom();

Expand Down Expand Up @@ -1305,5 +1310,11 @@ private void setFocus(ListBox listTarget)
// 이벤트 처리 끝
}
}

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
//홈페이지 열기
System.Diagnostics.Process.Start(lnklblProject.Text);
}
}
}

0 comments on commit 0566dcc

Please sign in to comment.