📄 systemlogui.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace UI
{
/// <summary>
/// SystemLogUI 的摘要说明。
/// </summary>
public class SystemLogUI : System.Windows.Forms.Form
{
private System.Windows.Forms.ToolBar toolBar1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.Splitter splitter1;
private System.Windows.Forms.TextBox textLogMess;
private System.Windows.Forms.ToolBarButton toolBarButton1;
private System.Windows.Forms.ToolBarButton toolBarButton2;
private System.Windows.Forms.ToolBarButton toolBarButton3;
private System.Windows.Forms.ToolBarButton toolBarButton4;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public SystemLogUI()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.toolBar1 = new System.Windows.Forms.ToolBar();
this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
this.toolBarButton4 = new System.Windows.Forms.ToolBarButton();
this.listView1 = new System.Windows.Forms.ListView();
this.splitter1 = new System.Windows.Forms.Splitter();
this.textLogMess = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// toolBar1
//
this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
this.toolBarButton1,
this.toolBarButton2,
this.toolBarButton3,
this.toolBarButton4});
this.toolBar1.DropDownArrows = true;
this.toolBar1.Location = new System.Drawing.Point(0, 0);
this.toolBar1.Name = "toolBar1";
this.toolBar1.ShowToolTips = true;
this.toolBar1.Size = new System.Drawing.Size(608, 41);
this.toolBar1.TabIndex = 0;
//
// toolBarButton1
//
this.toolBarButton1.Text = "刷新";
//
// toolBarButton2
//
this.toolBarButton2.Text = "打开";
//
// toolBarButton3
//
this.toolBarButton3.Text = "删除";
//
// toolBarButton4
//
this.toolBarButton4.Text = "退出";
//
// listView1
//
this.listView1.Dock = System.Windows.Forms.DockStyle.Left;
this.listView1.Location = new System.Drawing.Point(0, 41);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(160, 436);
this.listView1.TabIndex = 1;
//
// splitter1
//
this.splitter1.Location = new System.Drawing.Point(160, 41);
this.splitter1.Name = "splitter1";
this.splitter1.Size = new System.Drawing.Size(3, 436);
this.splitter1.TabIndex = 2;
this.splitter1.TabStop = false;
//
// textLogMess
//
this.textLogMess.Dock = System.Windows.Forms.DockStyle.Fill;
this.textLogMess.Location = new System.Drawing.Point(163, 41);
this.textLogMess.Multiline = true;
this.textLogMess.Name = "textLogMess";
this.textLogMess.Size = new System.Drawing.Size(445, 436);
this.textLogMess.TabIndex = 3;
this.textLogMess.Text = "";
//
// SystemLogUI
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(608, 477);
this.Controls.Add(this.textLogMess);
this.Controls.Add(this.splitter1);
this.Controls.Add(this.listView1);
this.Controls.Add(this.toolBar1);
this.Name = "SystemLogUI";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "系统日志管理";
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -