317 lines
13 KiB
C#
317 lines
13 KiB
C#
namespace ControlServer
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle8 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle4 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle5 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle6 = new DataGridViewCellStyle();
|
|
DataGridViewCellStyle dataGridViewCellStyle7 = new DataGridViewCellStyle();
|
|
pannGray = new Panel();
|
|
lblTotCnt = new Label();
|
|
lblGrayTitle = new Label();
|
|
pannBlue = new Panel();
|
|
lblRunningCnt = new Label();
|
|
lblBlueTitle = new Label();
|
|
grdTotList = new DataGridView();
|
|
btnLog = new Button();
|
|
btnRegister = new Button();
|
|
btnDataUpdate = new Button();
|
|
txtSearch = new TextBox();
|
|
pictureBox1 = new PictureBox();
|
|
Col0 = new DataGridViewTextBoxColumn();
|
|
Col1 = new DataGridViewTextBoxColumn();
|
|
Col2 = new DataGridViewTextBoxColumn();
|
|
Col3 = new DataGridViewTextBoxColumn();
|
|
Col4 = new DataGridViewTextBoxColumn();
|
|
Col5 = new DataGridViewTextBoxColumn();
|
|
Col8 = new DataGridViewTextBoxColumn();
|
|
pannGray.SuspendLayout();
|
|
pannBlue.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)grdTotList).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pannGray
|
|
//
|
|
pannGray.Controls.Add(lblTotCnt);
|
|
pannGray.Controls.Add(lblGrayTitle);
|
|
pannGray.Location = new Point(435, 76);
|
|
pannGray.Name = "pannGray";
|
|
pannGray.Size = new Size(190, 120);
|
|
pannGray.TabIndex = 0;
|
|
pannGray.Paint += pannGray_Paint;
|
|
//
|
|
// lblTotCnt
|
|
//
|
|
lblTotCnt.Font = new Font("휴먼둥근헤드라인", 19.8000011F, FontStyle.Regular, GraphicsUnit.Point, 129);
|
|
lblTotCnt.ForeColor = SystemColors.HighlightText;
|
|
lblTotCnt.Location = new Point(0, 56);
|
|
lblTotCnt.Name = "lblTotCnt";
|
|
lblTotCnt.Size = new Size(190, 48);
|
|
lblTotCnt.TabIndex = 1;
|
|
lblTotCnt.Text = "0대";
|
|
lblTotCnt.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// lblGrayTitle
|
|
//
|
|
lblGrayTitle.AutoSize = true;
|
|
lblGrayTitle.Location = new Point(33, 20);
|
|
lblGrayTitle.Name = "lblGrayTitle";
|
|
lblGrayTitle.Size = new Size(124, 20);
|
|
lblGrayTitle.TabIndex = 0;
|
|
lblGrayTitle.Text = "현재 단말기 대수";
|
|
lblGrayTitle.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// pannBlue
|
|
//
|
|
pannBlue.Controls.Add(lblRunningCnt);
|
|
pannBlue.Controls.Add(lblBlueTitle);
|
|
pannBlue.Location = new Point(725, 76);
|
|
pannBlue.Name = "pannBlue";
|
|
pannBlue.Size = new Size(190, 120);
|
|
pannBlue.TabIndex = 2;
|
|
pannBlue.Paint += pannBlue_Paint;
|
|
//
|
|
// lblRunningCnt
|
|
//
|
|
lblRunningCnt.Font = new Font("휴먼둥근헤드라인", 19.8000011F, FontStyle.Regular, GraphicsUnit.Point, 129);
|
|
lblRunningCnt.ForeColor = SystemColors.HighlightText;
|
|
lblRunningCnt.Location = new Point(0, 56);
|
|
lblRunningCnt.Name = "lblRunningCnt";
|
|
lblRunningCnt.Size = new Size(190, 48);
|
|
lblRunningCnt.TabIndex = 1;
|
|
lblRunningCnt.Text = "0대";
|
|
lblRunningCnt.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// lblBlueTitle
|
|
//
|
|
lblBlueTitle.Location = new Point(0, 20);
|
|
lblBlueTitle.Name = "lblBlueTitle";
|
|
lblBlueTitle.Size = new Size(190, 20);
|
|
lblBlueTitle.TabIndex = 0;
|
|
lblBlueTitle.Text = "프로그램 실행 대수";
|
|
lblBlueTitle.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// grdTotList
|
|
//
|
|
dataGridViewCellStyle1.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle1.BackColor = SystemColors.ButtonShadow;
|
|
dataGridViewCellStyle1.Font = new Font("맑은 고딕", 9F);
|
|
dataGridViewCellStyle1.ForeColor = SystemColors.WindowText;
|
|
dataGridViewCellStyle1.SelectionBackColor = SystemColors.Highlight;
|
|
dataGridViewCellStyle1.SelectionForeColor = SystemColors.HighlightText;
|
|
dataGridViewCellStyle1.WrapMode = DataGridViewTriState.True;
|
|
grdTotList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
grdTotList.ColumnHeadersHeight = 29;
|
|
grdTotList.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
grdTotList.Columns.AddRange(new DataGridViewColumn[] { Col0, Col1, Col2, Col3, Col4, Col5, Col8 });
|
|
dataGridViewCellStyle8.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle8.BackColor = SystemColors.Window;
|
|
dataGridViewCellStyle8.Font = new Font("맑은 고딕", 9F);
|
|
dataGridViewCellStyle8.ForeColor = SystemColors.ControlText;
|
|
dataGridViewCellStyle8.SelectionBackColor = SystemColors.Highlight;
|
|
dataGridViewCellStyle8.SelectionForeColor = SystemColors.HighlightText;
|
|
dataGridViewCellStyle8.WrapMode = DataGridViewTriState.False;
|
|
grdTotList.DefaultCellStyle = dataGridViewCellStyle8;
|
|
grdTotList.Location = new Point(159, 308);
|
|
grdTotList.Name = "grdTotList";
|
|
grdTotList.RowHeadersWidth = 51;
|
|
grdTotList.Size = new Size(1000, 417);
|
|
grdTotList.TabIndex = 3;
|
|
grdTotList.CellMouseClick += grdTotList_CellMouseClick;
|
|
//
|
|
// btnLog
|
|
//
|
|
btnLog.Location = new Point(1009, 244);
|
|
btnLog.Name = "btnLog";
|
|
btnLog.Size = new Size(150, 44);
|
|
btnLog.TabIndex = 4;
|
|
btnLog.Text = "제어 이력 조회";
|
|
btnLog.UseVisualStyleBackColor = true;
|
|
btnLog.MouseClick += btnLog_MouseClick;
|
|
//
|
|
// btnRegister
|
|
//
|
|
btnRegister.Location = new Point(880, 244);
|
|
btnRegister.Name = "btnRegister";
|
|
btnRegister.Size = new Size(123, 44);
|
|
btnRegister.TabIndex = 5;
|
|
btnRegister.Text = "단말기 등록";
|
|
btnRegister.UseVisualStyleBackColor = true;
|
|
btnRegister.MouseClick += btnRegister_MouseClick;
|
|
//
|
|
// btnDataUpdate
|
|
//
|
|
btnDataUpdate.Location = new Point(750, 244);
|
|
btnDataUpdate.Name = "btnDataUpdate";
|
|
btnDataUpdate.Size = new Size(123, 44);
|
|
btnDataUpdate.TabIndex = 6;
|
|
btnDataUpdate.Text = "데이터 갱신";
|
|
btnDataUpdate.UseVisualStyleBackColor = true;
|
|
btnDataUpdate.MouseClick += btnDataUpdate_MouseClick;
|
|
//
|
|
// txtSearch
|
|
//
|
|
txtSearch.Location = new Point(159, 244);
|
|
txtSearch.Multiline = true;
|
|
txtSearch.Name = "txtSearch";
|
|
txtSearch.Size = new Size(256, 44);
|
|
txtSearch.TabIndex = 7;
|
|
txtSearch.TextAlign = HorizontalAlignment.Center;
|
|
//
|
|
// pictureBox1
|
|
//
|
|
pictureBox1.Image = Properties.Resources.button_search;
|
|
pictureBox1.Location = new Point(430, 244);
|
|
pictureBox1.Name = "pictureBox1";
|
|
pictureBox1.Size = new Size(44, 44);
|
|
pictureBox1.TabIndex = 8;
|
|
pictureBox1.TabStop = false;
|
|
//
|
|
// Col0
|
|
//
|
|
dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col0.DefaultCellStyle = dataGridViewCellStyle2;
|
|
Col0.Frozen = true;
|
|
Col0.HeaderText = "단말기명";
|
|
Col0.MinimumWidth = 6;
|
|
Col0.Name = "Col0";
|
|
Col0.Width = 150;
|
|
//
|
|
// Col1
|
|
//
|
|
dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col1.DefaultCellStyle = dataGridViewCellStyle3;
|
|
Col1.Frozen = true;
|
|
Col1.HeaderText = "MAC주소";
|
|
Col1.MinimumWidth = 6;
|
|
Col1.Name = "Col1";
|
|
Col1.Width = 200;
|
|
//
|
|
// Col2
|
|
//
|
|
dataGridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col2.DefaultCellStyle = dataGridViewCellStyle4;
|
|
Col2.Frozen = true;
|
|
Col2.HeaderText = "IP";
|
|
Col2.MinimumWidth = 6;
|
|
Col2.Name = "Col2";
|
|
Col2.Width = 200;
|
|
//
|
|
// Col3
|
|
//
|
|
dataGridViewCellStyle5.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col3.DefaultCellStyle = dataGridViewCellStyle5;
|
|
Col3.Frozen = true;
|
|
Col3.HeaderText = "통신설정";
|
|
Col3.MinimumWidth = 6;
|
|
Col3.Name = "Col3";
|
|
Col3.Width = 125;
|
|
//
|
|
// Col4
|
|
//
|
|
dataGridViewCellStyle6.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col4.DefaultCellStyle = dataGridViewCellStyle6;
|
|
Col4.Frozen = true;
|
|
Col4.HeaderText = "프로그램";
|
|
Col4.MinimumWidth = 6;
|
|
Col4.Name = "Col4";
|
|
Col4.Width = 125;
|
|
//
|
|
// Col5
|
|
//
|
|
dataGridViewCellStyle7.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col5.DefaultCellStyle = dataGridViewCellStyle7;
|
|
Col5.Frozen = true;
|
|
Col5.HeaderText = "마지막 통신 시간";
|
|
Col5.MinimumWidth = 6;
|
|
Col5.Name = "Col5";
|
|
Col5.Width = 200;
|
|
//
|
|
// Col8
|
|
//
|
|
Col8.HeaderText = "포트번호";
|
|
Col8.MinimumWidth = 6;
|
|
Col8.Name = "Col8";
|
|
Col8.ReadOnly = true;
|
|
Col8.Visible = false;
|
|
Col8.Width = 125;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(9F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1357, 737);
|
|
Controls.Add(pictureBox1);
|
|
Controls.Add(txtSearch);
|
|
Controls.Add(btnDataUpdate);
|
|
Controls.Add(btnRegister);
|
|
Controls.Add(btnLog);
|
|
Controls.Add(grdTotList);
|
|
Controls.Add(pannBlue);
|
|
Controls.Add(pannGray);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
pannGray.ResumeLayout(false);
|
|
pannGray.PerformLayout();
|
|
pannBlue.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)grdTotList).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Panel pannGray;
|
|
private Panel pannBlue;
|
|
private Label lblGrayTitle;
|
|
private Label lblBlueTitle;
|
|
private Label lblTotCnt;
|
|
private Label lblRunningCnt;
|
|
private DataGridView grdTotList;
|
|
private Button btnLog;
|
|
private Button btnRegister;
|
|
private Button btnDataUpdate;
|
|
private TextBox txtSearch;
|
|
private PictureBox pictureBox1;
|
|
private DataGridViewTextBoxColumn Col0;
|
|
private DataGridViewTextBoxColumn Col1;
|
|
private DataGridViewTextBoxColumn Col2;
|
|
private DataGridViewTextBoxColumn Col3;
|
|
private DataGridViewTextBoxColumn Col4;
|
|
private DataGridViewTextBoxColumn Col5;
|
|
private DataGridViewTextBoxColumn Col8;
|
|
}
|
|
}
|