📄 traintimequery.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Model;
using Business_Logic;
namespace Railroad_Trip
{
/// <summary>
/// TrainTimeQuery 的摘要说明。
/// </summary>
public class TrainTimeQuery : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label lblclear;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.Label lbl1;
private System.Windows.Forms.Label lbl2;
private System.Windows.Forms.Label lbl3;
private System.Windows.Forms.Label lbl6;
private System.Windows.Forms.Label lbl5;
private System.Windows.Forms.Label lbl4;
private System.Windows.Forms.Label lblte;
private System.Windows.Forms.Label lblkuai;
private System.Windows.Forms.Label lbl0;
private System.Windows.Forms.Label lbl9;
private System.Windows.Forms.Label lbl8;
private System.Windows.Forms.Label lbl7;
private System.Windows.Forms.Label lbllin;
private System.Windows.Forms.Label lblkuai2;
private System.Windows.Forms.Label lblzhi;
private System.Windows.Forms.Label lbldrop;
private System.Windows.Forms.Label lblOK;
private System.Windows.Forms.Label lbldong;
private System.Windows.Forms.Label lblclose;
private System.Windows.Forms.Label lblmin;
private System.ComponentModel.IContainer components;
public System.Windows.Forms.TextBox txtCheci;
private bool isclick=false;
Point oldpoint=new Point(0,0);//界面的初始焦点
public TrainTimeQuery()
{
//
// 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(TrainTimeQuery));
this.panel1 = new System.Windows.Forms.Panel();
this.lblmin = new System.Windows.Forms.Label();
this.lblclose = new System.Windows.Forms.Label();
this.lbldrop = new System.Windows.Forms.Label();
this.lblOK = new System.Windows.Forms.Label();
this.lbldong = new System.Windows.Forms.Label();
this.lbllin = new System.Windows.Forms.Label();
this.lblkuai2 = new System.Windows.Forms.Label();
this.lblzhi = new System.Windows.Forms.Label();
this.lblte = new System.Windows.Forms.Label();
this.lblkuai = new System.Windows.Forms.Label();
this.lbl0 = new System.Windows.Forms.Label();
this.lbl9 = new System.Windows.Forms.Label();
this.lbl8 = new System.Windows.Forms.Label();
this.lbl7 = new System.Windows.Forms.Label();
this.lbl6 = new System.Windows.Forms.Label();
this.lbl5 = new System.Windows.Forms.Label();
this.lbl4 = new System.Windows.Forms.Label();
this.lbl3 = new System.Windows.Forms.Label();
this.lbl2 = new System.Windows.Forms.Label();
this.lbl1 = new System.Windows.Forms.Label();
this.txtCheci = new System.Windows.Forms.TextBox();
this.lblclear = new System.Windows.Forms.Label();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel1.BackgroundImage")));
this.panel1.Controls.Add(this.lblmin);
this.panel1.Controls.Add(this.lblclose);
this.panel1.Controls.Add(this.lbldrop);
this.panel1.Controls.Add(this.lblOK);
this.panel1.Controls.Add(this.lbldong);
this.panel1.Controls.Add(this.lbllin);
this.panel1.Controls.Add(this.lblkuai2);
this.panel1.Controls.Add(this.lblzhi);
this.panel1.Controls.Add(this.lblte);
this.panel1.Controls.Add(this.lblkuai);
this.panel1.Controls.Add(this.lbl0);
this.panel1.Controls.Add(this.lbl9);
this.panel1.Controls.Add(this.lbl8);
this.panel1.Controls.Add(this.lbl7);
this.panel1.Controls.Add(this.lbl6);
this.panel1.Controls.Add(this.lbl5);
this.panel1.Controls.Add(this.lbl4);
this.panel1.Controls.Add(this.lbl3);
this.panel1.Controls.Add(this.lbl2);
this.panel1.Controls.Add(this.lbl1);
this.panel1.Controls.Add(this.txtCheci);
this.panel1.Controls.Add(this.lblclear);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.ForeColor = System.Drawing.SystemColors.Control;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(408, 435);
this.panel1.TabIndex = 0;
this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove);
this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
//
// lblmin
//
this.lblmin.BackColor = System.Drawing.Color.Transparent;
this.lblmin.Location = new System.Drawing.Point(352, 34);
this.lblmin.Name = "lblmin";
this.lblmin.Size = new System.Drawing.Size(14, 14);
this.lblmin.TabIndex = 38;
this.lblmin.Click += new System.EventHandler(this.lblmin_Click);
//
// lblclose
//
this.lblclose.BackColor = System.Drawing.Color.Transparent;
this.lblclose.Location = new System.Drawing.Point(368, 34);
this.lblclose.Name = "lblclose";
this.lblclose.Size = new System.Drawing.Size(14, 14);
this.lblclose.TabIndex = 37;
this.lblclose.Click += new System.EventHandler(this.lblclose_Click);
//
// lbldrop
//
this.lbldrop.BackColor = System.Drawing.Color.Transparent;
this.lbldrop.Location = new System.Drawing.Point(320, 350);
this.lbldrop.Name = "lbldrop";
this.lbldrop.Size = new System.Drawing.Size(60, 12);
this.lbldrop.TabIndex = 36;
this.lbldrop.Click += new System.EventHandler(this.lbldrop_Click);
//
// lblOK
//
this.lblOK.BackColor = System.Drawing.Color.Transparent;
this.lblOK.Location = new System.Drawing.Point(250, 350);
this.lblOK.Name = "lblOK";
this.lblOK.Size = new System.Drawing.Size(60, 12);
this.lblOK.TabIndex = 35;
this.lblOK.Click += new System.EventHandler(this.lblOK_Click);
//
// lbldong
//
this.lbldong.BackColor = System.Drawing.Color.Transparent;
this.lbldong.Location = new System.Drawing.Point(178, 348);
this.lbldong.Name = "lbldong";
this.lbldong.Size = new System.Drawing.Size(60, 12);
this.lbldong.TabIndex = 34;
this.lbldong.Click += new System.EventHandler(this.lbldong_Click);
//
// lbllin
//
this.lbllin.BackColor = System.Drawing.Color.Transparent;
this.lbllin.Location = new System.Drawing.Point(320, 312);
this.lbllin.Name = "lbllin";
this.lbllin.Size = new System.Drawing.Size(60, 12);
this.lbllin.TabIndex = 33;
this.lbllin.Click += new System.EventHandler(this.lbllin_Click);
//
// lblkuai2
//
this.lblkuai2.BackColor = System.Drawing.Color.Transparent;
this.lblkuai2.Location = new System.Drawing.Point(252, 312);
this.lblkuai2.Name = "lblkuai2";
this.lblkuai2.Size = new System.Drawing.Size(54, 12);
this.lblkuai2.TabIndex = 32;
this.lblkuai2.Click += new System.EventHandler(this.lblkuai2_Click);
//
// lblzhi
//
this.lblzhi.BackColor = System.Drawing.Color.Transparent;
this.lblzhi.Location = new System.Drawing.Point(180, 310);
this.lblzhi.Name = "lblzhi";
this.lblzhi.Size = new System.Drawing.Size(54, 12);
this.lblzhi.TabIndex = 31;
this.lblzhi.Click += new System.EventHandler(this.lblzhi_Click);
//
// lblte
//
this.lblte.BackColor = System.Drawing.Color.Transparent;
this.lblte.Location = new System.Drawing.Point(320, 268);
this.lblte.Name = "lblte";
this.lblte.Size = new System.Drawing.Size(58, 12);
this.lblte.TabIndex = 30;
this.lblte.Click += new System.EventHandler(this.lblte_Click);
//
// lblkuai
//
this.lblkuai.BackColor = System.Drawing.Color.Transparent;
this.lblkuai.Location = new System.Drawing.Point(250, 268);
this.lblkuai.Name = "lblkuai";
this.lblkuai.Size = new System.Drawing.Size(54, 12);
this.lblkuai.TabIndex = 29;
this.lblkuai.Click += new System.EventHandler(this.lblkuai_Click);
//
// lbl0
//
this.lbl0.BackColor = System.Drawing.Color.Transparent;
this.lbl0.Location = new System.Drawing.Point(178, 266);
this.lbl0.Name = "lbl0";
this.lbl0.Size = new System.Drawing.Size(54, 12);
this.lbl0.TabIndex = 28;
this.lbl0.Click += new System.EventHandler(this.lbl0_Click);
//
// lbl9
//
this.lbl9.BackColor = System.Drawing.Color.Transparent;
this.lbl9.Location = new System.Drawing.Point(324, 222);
this.lbl9.Name = "lbl9";
this.lbl9.Size = new System.Drawing.Size(54, 12);
this.lbl9.TabIndex = 27;
this.lbl9.Click += new System.EventHandler(this.lbl9_Click);
//
// lbl8
//
this.lbl8.BackColor = System.Drawing.Color.Transparent;
this.lbl8.Location = new System.Drawing.Point(250, 222);
this.lbl8.Name = "lbl8";
this.lbl8.Size = new System.Drawing.Size(54, 12);
this.lbl8.TabIndex = 26;
this.lbl8.Click += new System.EventHandler(this.lbl8_Click);
//
// lbl7
//
this.lbl7.BackColor = System.Drawing.Color.Transparent;
this.lbl7.Location = new System.Drawing.Point(178, 220);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -