345 lines
14 KiB
C#
345 lines
14 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 RoundedPanel();
|
|
lblTotCnt = new Label();
|
|
lblGrayTitle = new Label();
|
|
pannBlue = new RoundedPanel();
|
|
lblRunningCnt = new Label();
|
|
lblBlueTitle = new Label();
|
|
grdTotList = new DataGridView();
|
|
btnRegister = new Button();
|
|
btnDataUpdate = new Button();
|
|
txtSearch = new TextBox();
|
|
imgSearch = new PictureBox();
|
|
Col0 = new DataGridViewTextBoxColumn();
|
|
Col1 = new DataGridViewTextBoxColumn();
|
|
Col2 = new DataGridViewTextBoxColumn();
|
|
Col3 = new DataGridViewTextBoxColumn();
|
|
Col4 = new DataGridViewTextBoxColumn();
|
|
Col5 = new DataGridViewTextBoxColumn();
|
|
Col8 = new DataGridViewTextBoxColumn();
|
|
Col9 = new DataGridViewTextBoxColumn();
|
|
Col10 = new DataGridViewTextBoxColumn();
|
|
Col11 = new DataGridViewTextBoxColumn();
|
|
pannGray.SuspendLayout();
|
|
pannBlue.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)grdTotList).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)imgSearch).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;
|
|
//
|
|
// lblTotCnt
|
|
//
|
|
lblTotCnt.Font = new Font("휴먼둥근헤드라인", 19.8000011F, FontStyle.Regular, GraphicsUnit.Point, 129);
|
|
lblTotCnt.ForeColor = SystemColors.GrayText;
|
|
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.Font = new Font("맑은 고딕", 9F, FontStyle.Bold, GraphicsUnit.Point, 129);
|
|
lblGrayTitle.ForeColor = SystemColors.ControlDarkDark;
|
|
lblGrayTitle.Location = new Point(0, 20);
|
|
lblGrayTitle.Name = "lblGrayTitle";
|
|
lblGrayTitle.Size = new Size(190, 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;
|
|
//
|
|
// lblRunningCnt
|
|
//
|
|
lblRunningCnt.Font = new Font("휴먼둥근헤드라인", 19.8000011F, FontStyle.Regular, GraphicsUnit.Point, 129);
|
|
lblRunningCnt.ForeColor = SystemColors.HotTrack;
|
|
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.Font = new Font("맑은 고딕", 9F, FontStyle.Bold, GraphicsUnit.Point, 129);
|
|
lblBlueTitle.ForeColor = SystemColors.ControlDarkDark;
|
|
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, Col9, Col10, Col11 });
|
|
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.CellContentClick += grdTotList_CellContentClick;
|
|
//
|
|
// btnRegister
|
|
//
|
|
btnRegister.BackColor = Color.RoyalBlue;
|
|
btnRegister.ForeColor = SystemColors.HighlightText;
|
|
btnRegister.Image = Properties.Resources.imgDataRegister;
|
|
btnRegister.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnRegister.Location = new Point(1029, 242);
|
|
btnRegister.Name = "btnRegister";
|
|
btnRegister.Size = new Size(130, 50);
|
|
btnRegister.TabIndex = 5;
|
|
btnRegister.Text = "단말기 등록";
|
|
btnRegister.TextAlign = ContentAlignment.MiddleRight;
|
|
btnRegister.UseVisualStyleBackColor = false;
|
|
btnRegister.MouseClick += btnRegister_MouseClick;
|
|
//
|
|
// btnDataUpdate
|
|
//
|
|
btnDataUpdate.Image = Properties.Resources.imgDataUpdate;
|
|
btnDataUpdate.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnDataUpdate.Location = new Point(893, 242);
|
|
btnDataUpdate.Name = "btnDataUpdate";
|
|
btnDataUpdate.Size = new Size(130, 50);
|
|
btnDataUpdate.TabIndex = 6;
|
|
btnDataUpdate.Text = "데이터 갱신";
|
|
btnDataUpdate.TextAlign = ContentAlignment.MiddleRight;
|
|
btnDataUpdate.UseVisualStyleBackColor = true;
|
|
btnDataUpdate.Click += btnDataUpdate_Click;
|
|
//
|
|
// txtSearch
|
|
//
|
|
txtSearch.Font = new Font("맑은 고딕", 12F, FontStyle.Regular, GraphicsUnit.Point, 129);
|
|
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;
|
|
txtSearch.TextChanged += txtSearch_TextChanged;
|
|
//
|
|
// imgSearch
|
|
//
|
|
imgSearch.Image = Properties.Resources.button_search;
|
|
imgSearch.Location = new Point(430, 244);
|
|
imgSearch.Name = "imgSearch";
|
|
imgSearch.Size = new Size(44, 44);
|
|
imgSearch.TabIndex = 8;
|
|
imgSearch.TabStop = false;
|
|
imgSearch.MouseClick += imgSearch_MouseClick;
|
|
//
|
|
// Col0
|
|
//
|
|
dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col0.DefaultCellStyle = dataGridViewCellStyle2;
|
|
Col0.HeaderText = "단말기명";
|
|
Col0.MinimumWidth = 6;
|
|
Col0.Name = "Col0";
|
|
Col0.Width = 150;
|
|
//
|
|
// Col1
|
|
//
|
|
dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col1.DefaultCellStyle = dataGridViewCellStyle3;
|
|
Col1.HeaderText = "MAC주소";
|
|
Col1.MinimumWidth = 6;
|
|
Col1.Name = "Col1";
|
|
Col1.Width = 200;
|
|
//
|
|
// Col2
|
|
//
|
|
dataGridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col2.DefaultCellStyle = dataGridViewCellStyle4;
|
|
Col2.HeaderText = "IP";
|
|
Col2.MinimumWidth = 6;
|
|
Col2.Name = "Col2";
|
|
Col2.Width = 200;
|
|
//
|
|
// Col3
|
|
//
|
|
dataGridViewCellStyle5.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col3.DefaultCellStyle = dataGridViewCellStyle5;
|
|
Col3.HeaderText = "통신설정";
|
|
Col3.MinimumWidth = 6;
|
|
Col3.Name = "Col3";
|
|
Col3.Width = 125;
|
|
//
|
|
// Col4
|
|
//
|
|
dataGridViewCellStyle6.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col4.DefaultCellStyle = dataGridViewCellStyle6;
|
|
Col4.HeaderText = "프로그램";
|
|
Col4.MinimumWidth = 6;
|
|
Col4.Name = "Col4";
|
|
Col4.Width = 125;
|
|
//
|
|
// Col5
|
|
//
|
|
dataGridViewCellStyle7.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
Col5.DefaultCellStyle = dataGridViewCellStyle7;
|
|
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;
|
|
//
|
|
// Col9
|
|
//
|
|
Col9.HeaderText = "표출시간";
|
|
Col9.MinimumWidth = 6;
|
|
Col9.Name = "Col9";
|
|
Col9.ReadOnly = true;
|
|
Col9.Visible = false;
|
|
Col9.Width = 125;
|
|
//
|
|
// Col10
|
|
//
|
|
Col10.HeaderText = "프로그램ON시간";
|
|
Col10.MinimumWidth = 6;
|
|
Col10.Name = "Col10";
|
|
Col10.ReadOnly = true;
|
|
Col10.Visible = false;
|
|
Col10.Width = 125;
|
|
//
|
|
// Col11
|
|
//
|
|
Col11.HeaderText = "프로그램OFF시간";
|
|
Col11.MinimumWidth = 6;
|
|
Col11.Name = "Col11";
|
|
Col11.ReadOnly = true;
|
|
Col11.Visible = false;
|
|
Col11.Width = 125;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(9F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1357, 737);
|
|
Controls.Add(imgSearch);
|
|
Controls.Add(txtSearch);
|
|
Controls.Add(btnDataUpdate);
|
|
Controls.Add(btnRegister);
|
|
Controls.Add(grdTotList);
|
|
Controls.Add(pannBlue);
|
|
Controls.Add(pannGray);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
Load += Form1_Load_1;
|
|
pannGray.ResumeLayout(false);
|
|
pannBlue.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)grdTotList).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)imgSearch).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
//private Panel pannGray;
|
|
//private Panel pannBlue;
|
|
private RoundedPanel pannGray;
|
|
private RoundedPanel pannBlue;
|
|
private Label lblGrayTitle;
|
|
private Label lblBlueTitle;
|
|
private Label lblTotCnt;
|
|
private Label lblRunningCnt;
|
|
private DataGridView grdTotList;
|
|
private Button btnRegister;
|
|
private Button btnDataUpdate;
|
|
private TextBox txtSearch;
|
|
private PictureBox imgSearch;
|
|
private DataGridViewTextBoxColumn Col0;
|
|
private DataGridViewTextBoxColumn Col1;
|
|
private DataGridViewTextBoxColumn Col2;
|
|
private DataGridViewTextBoxColumn Col3;
|
|
private DataGridViewTextBoxColumn Col4;
|
|
private DataGridViewTextBoxColumn Col5;
|
|
private DataGridViewTextBoxColumn Col8;
|
|
private DataGridViewTextBoxColumn Col9;
|
|
private DataGridViewTextBoxColumn Col10;
|
|
private DataGridViewTextBoxColumn Col11;
|
|
}
|
|
}
|