초기 커밋.
This commit is contained in:
35
ControlServer/Form4.cs
Normal file
35
ControlServer/Form4.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ControlServer
|
||||
{
|
||||
public partial class Form4 : Form
|
||||
{
|
||||
public Form4()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
grdLog.RowHeadersVisible = false; // 그리드 자동으로 생성되는 첫 번째 열 제거
|
||||
grdLog.AllowUserToAddRows = false; // 새 행 입력용 기본 로우 제거
|
||||
grdLog.EnableHeadersVisualStyles = false; // 헤더 기본 테마 사용 안 함
|
||||
grdLog.ColumnHeadersDefaultCellStyle.BackColor = Color.LightGray; // 헤더 배경색
|
||||
grdLog.ColumnHeadersHeight = 40; // 헤더 높이
|
||||
grdLog.RowHeadersVisible = false; // 행 헤더 제거
|
||||
grdLog.AllowUserToAddRows = false; // // 행 추가 금지
|
||||
grdLog.AllowUserToResizeRows = false; // 행 높이 조절 금지
|
||||
grdLog.AllowUserToResizeColumns = false; // 열 너비 조절 금지
|
||||
grdLog.ReadOnly = true; // 읽기 전용
|
||||
grdLog.ClearSelection();
|
||||
}
|
||||
|
||||
private void btnPrev_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user