?? loginform.cs
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace Sun188.iSBus.WinUI
{
/// <summary>
/// LoginForm 的摘要說明。
/// </summary>
public class LoginForm : System.Windows.Forms.Form
{
private System.Windows.Forms.ImageList imageList3;
private System.Windows.Forms.Timer tmClock;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Panel plRight;
private System.Windows.Forms.PictureBox pictureBox9;
private System.Windows.Forms.ImageList imageList2;
private System.Windows.Forms.Panel plTop;
private System.Windows.Forms.PictureBox btnClose;
private System.Windows.Forms.PictureBox btnMax;
private System.Windows.Forms.PictureBox btnMin;
private System.Windows.Forms.PictureBox pictureBox7;
private System.Windows.Forms.PictureBox pictureBox6;
private System.Windows.Forms.PictureBox pictureBox5;
private System.Windows.Forms.PictureBox pictureBox4;
private System.Windows.Forms.PictureBox pictureBox3;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Panel plLeft;
private System.Windows.Forms.PictureBox pictureBox8;
private System.Windows.Forms.Panel plBotton;
private System.Windows.Forms.PictureBox pictureBox12;
private System.Windows.Forms.PictureBox pictureBox11;
private System.Windows.Forms.PictureBox pictureBox10;
private System.Windows.Forms.ToolBarButton tbtnAbout;
private System.Windows.Forms.ToolBarButton tbtnHelp;
private System.Windows.Forms.ToolBarButton tbtnClose;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label lbTitle;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.ToolBar toolBar1;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.StatusBar statusBar1;
private System.Windows.Forms.StatusBarPanel statusBarPanel1;
private System.Windows.Forms.StatusBarPanel statusBarPanel2;
private System.Windows.Forms.StatusBarPanel statusBarPanel3;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txbUserName;
private System.Windows.Forms.TextBox txbUserPass;
private System.Windows.Forms.PictureBox btnPrv;
private System.Windows.Forms.PictureBox btnFirst;
private System.Windows.Forms.ImageList imageList1;
private System.ComponentModel.IContainer components;
public LoginForm()
{
//
// Windows 窗體設(shè)計器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 調(diào)用后添加任何構(gòu)造函數(shù)代碼
//
}
/// <summary>
/// 清理所有正在使用的資源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// 設(shè)計器支持所需的方法 - 不要使用代碼編輯器修改
/// 此方法的內(nèi)容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(LoginForm));
this.imageList3 = new System.Windows.Forms.ImageList(this.components);
this.tmClock = new System.Windows.Forms.Timer(this.components);
this.panel5 = new System.Windows.Forms.Panel();
this.plRight = new System.Windows.Forms.Panel();
this.pictureBox9 = new System.Windows.Forms.PictureBox();
this.imageList2 = new System.Windows.Forms.ImageList(this.components);
this.plTop = new System.Windows.Forms.Panel();
this.btnClose = new System.Windows.Forms.PictureBox();
this.btnMax = new System.Windows.Forms.PictureBox();
this.btnMin = new System.Windows.Forms.PictureBox();
this.pictureBox7 = new System.Windows.Forms.PictureBox();
this.pictureBox6 = new System.Windows.Forms.PictureBox();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.plLeft = new System.Windows.Forms.Panel();
this.pictureBox8 = new System.Windows.Forms.PictureBox();
this.plBotton = new System.Windows.Forms.Panel();
this.pictureBox12 = new System.Windows.Forms.PictureBox();
this.pictureBox11 = new System.Windows.Forms.PictureBox();
this.pictureBox10 = new System.Windows.Forms.PictureBox();
this.tbtnAbout = new System.Windows.Forms.ToolBarButton();
this.tbtnHelp = new System.Windows.Forms.ToolBarButton();
this.tbtnClose = new System.Windows.Forms.ToolBarButton();
this.panel2 = new System.Windows.Forms.Panel();
this.lbTitle = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.toolBar1 = new System.Windows.Forms.ToolBar();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.panel3 = new System.Windows.Forms.Panel();
this.btnPrv = new System.Windows.Forms.PictureBox();
this.btnFirst = new System.Windows.Forms.PictureBox();
this.txbUserPass = new System.Windows.Forms.TextBox();
this.txbUserName = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.panel4 = new System.Windows.Forms.Panel();
this.statusBar1 = new System.Windows.Forms.StatusBar();
this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel();
this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel();
this.plRight.SuspendLayout();
this.plTop.SuspendLayout();
this.plLeft.SuspendLayout();
this.plBotton.SuspendLayout();
this.panel2.SuspendLayout();
this.panel1.SuspendLayout();
this.panel3.SuspendLayout();
this.panel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit();
this.SuspendLayout();
//
// imageList3
//
this.imageList3.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
this.imageList3.ImageSize = new System.Drawing.Size(16, 16);
this.imageList3.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList3.ImageStream")));
this.imageList3.TransparentColor = System.Drawing.Color.Transparent;
//
// tmClock
//
this.tmClock.Interval = 1000;
//
// panel5
//
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(4, 76);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(288, 2);
this.panel5.TabIndex = 29;
//
// plRight
//
this.plRight.Controls.AddRange(new System.Windows.Forms.Control[] {
this.pictureBox9});
this.plRight.Dock = System.Windows.Forms.DockStyle.Right;
this.plRight.Location = new System.Drawing.Point(292, 26);
this.plRight.Name = "plRight";
this.plRight.Size = new System.Drawing.Size(4, 210);
this.plRight.TabIndex = 23;
//
// pictureBox9
//
this.pictureBox9.BackgroundImage = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox9.BackgroundImage")));
this.pictureBox9.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox9.Name = "pictureBox9";
this.pictureBox9.Size = new System.Drawing.Size(4, 210);
this.pictureBox9.TabIndex = 0;
this.pictureBox9.TabStop = false;
//
// imageList2
//
this.imageList2.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
this.imageList2.ImageSize = new System.Drawing.Size(16, 16);
this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
//
// plTop
//
this.plTop.Controls.AddRange(new System.Windows.Forms.Control[] {
this.btnClose,
this.btnMax,
this.btnMin,
this.pictureBox7,
this.pictureBox6,
this.pictureBox5,
this.pictureBox4,
this.pictureBox3,
this.pictureBox2,
this.pictureBox1});
this.plTop.Dock = System.Windows.Forms.DockStyle.Top;
this.plTop.Name = "plTop";
this.plTop.Size = new System.Drawing.Size(296, 26);
this.plTop.TabIndex = 24;
//
// btnClose
//
this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnClose.Image = ((System.Drawing.Bitmap)(resources.GetObject("btnClose.Image")));
this.btnClose.Location = new System.Drawing.Point(267, 3);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(20, 20);
this.btnClose.TabIndex = 14;
this.btnClose.TabStop = false;
//
// btnMax
//
this.btnMax.Image = ((System.Drawing.Bitmap)(resources.GetObject("btnMax.Image")));
this.btnMax.Location = new System.Drawing.Point(243, 3);
this.btnMax.Name = "btnMax";
this.btnMax.Size = new System.Drawing.Size(20, 20);
this.btnMax.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnMax.TabIndex = 12;
this.btnMax.TabStop = false;
//
// btnMin
//
this.btnMin.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnMin.Image = ((System.Drawing.Bitmap)(resources.GetObject("btnMin.Image")));
this.btnMin.Location = new System.Drawing.Point(219, 3);
this.btnMin.Name = "btnMin";
this.btnMin.Size = new System.Drawing.Size(20, 20);
this.btnMin.TabIndex = 11;
this.btnMin.TabStop = false;
//
// pictureBox7
//
this.pictureBox7.Dock = System.Windows.Forms.DockStyle.Right;
this.pictureBox7.Image = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox7.Image")));
this.pictureBox7.Location = new System.Drawing.Point(292, 0);
this.pictureBox7.Name = "pictureBox7";
this.pictureBox7.Size = new System.Drawing.Size(4, 26);
this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox7.TabIndex = 7;
this.pictureBox7.TabStop = false;
//
// pictureBox6
//
this.pictureBox6.BackgroundImage = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox6.BackgroundImage")));
this.pictureBox6.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox6.Image = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox6.Image")));
this.pictureBox6.Location = new System.Drawing.Point(214, 0);
this.pictureBox6.Name = "pictureBox6";
this.pictureBox6.Size = new System.Drawing.Size(82, 26);
this.pictureBox6.TabIndex = 6;
this.pictureBox6.TabStop = false;
//
// pictureBox5
//
this.pictureBox5.Dock = System.Windows.Forms.DockStyle.Left;
this.pictureBox5.Image = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox5.Image")));
this.pictureBox5.Location = new System.Drawing.Point(200, 0);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(14, 26);
this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox5.TabIndex = 5;
this.pictureBox5.TabStop = false;
//
// pictureBox4
//
this.pictureBox4.BackgroundImage = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox4.BackgroundImage")));
this.pictureBox4.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox4.Dock = System.Windows.Forms.DockStyle.Left;
this.pictureBox4.Location = new System.Drawing.Point(38, 0);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(162, 26);
this.pictureBox4.TabIndex = 4;
this.pictureBox4.TabStop = false;
//
// pictureBox3
//
this.pictureBox3.Dock = System.Windows.Forms.DockStyle.Left;
this.pictureBox3.Image = ((System.Drawing.Bitmap)(resources.GetObject("pictureBox3.Image")));
this.pictureBox3.Location = new System.Drawing.Point(25, 0);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(13, 26);
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox3.TabIndex = 3;
this.pictureBox3.TabStop = false;
//
// pictureBox2
//
this.pictureBox2.Dock = System.Windows.Forms.DockStyle.Left;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -