📄 formparent.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace GPRSDrvWinApp
{
/// <summary>
/// FormParent 的摘要说明。
/// </summary>
public class FormParent : System.Windows.Forms.Form
{
private System.ComponentModel.IContainer components;
protected System.Windows.Forms.ImageList imgLstMain;
protected string ModuleNO; //模块编号
public FormParent()
{
//
// 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.components = new System.ComponentModel.Container();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FormParent));
this.imgLstMain = new System.Windows.Forms.ImageList(this.components);
//
// imgLstMain
//
this.imgLstMain.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
this.imgLstMain.ImageSize = new System.Drawing.Size(16, 16);
this.imgLstMain.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgLstMain.ImageStream")));
this.imgLstMain.TransparentColor = System.Drawing.Color.Transparent;
//
// FormParent
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(416, 273);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "FormParent";
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -