📄 mainform.cs
字号:
this.btnNext.TabIndex = 11;
this.btnNext.TabStop = false;
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
this.btnNext.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnNext_MouseMove);
this.btnNext.MouseLeave += new System.EventHandler(this.btnNext_MouseLeave);
this.btnNext.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnNext_MouseDown);
//
// btnPrv
//
this.btnPrv.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.btnPrv.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnPrv.Image = ((System.Drawing.Image)(resources.GetObject("btnPrv.Image")));
this.btnPrv.Location = new System.Drawing.Point(314, 3);
this.btnPrv.Name = "btnPrv";
this.btnPrv.Size = new System.Drawing.Size(45, 18);
this.btnPrv.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnPrv.TabIndex = 10;
this.btnPrv.TabStop = false;
this.btnPrv.Click += new System.EventHandler(this.btnPrv_Click);
this.btnPrv.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnPrv_MouseMove);
this.btnPrv.MouseLeave += new System.EventHandler(this.btnPrv_MouseLeave);
this.btnPrv.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnPrv_MouseDown);
//
// btnFirst
//
this.btnFirst.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.btnFirst.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnFirst.Image = ((System.Drawing.Image)(resources.GetObject("btnFirst.Image")));
this.btnFirst.Location = new System.Drawing.Point(263, 3);
this.btnFirst.Name = "btnFirst";
this.btnFirst.Size = new System.Drawing.Size(45, 18);
this.btnFirst.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnFirst.TabIndex = 9;
this.btnFirst.TabStop = false;
this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click);
this.btnFirst.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnFirst_MouseMove);
this.btnFirst.MouseLeave += new System.EventHandler(this.btnFirst_MouseLeave);
this.btnFirst.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnFirst_MouseDown);
//
// panel5
//
this.panel5.Controls.Add(this.panel8);
this.panel5.Controls.Add(this.panel7);
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(467, 328);
this.panel5.TabIndex = 5;
//
// panel8
//
this.panel8.Controls.Add(this.lVBusList);
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel8.Location = new System.Drawing.Point(0, 26);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(467, 302);
this.panel8.TabIndex = 1;
//
// lVBusList
//
this.lVBusList.Activation = System.Windows.Forms.ItemActivation.OneClick;
this.lVBusList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.BusName,
this.BusType,
this.BusStartStop,
this.BusEndStop,
this.BusDescription});
this.lVBusList.Dock = System.Windows.Forms.DockStyle.Fill;
this.lVBusList.FullRowSelect = true;
this.lVBusList.GridLines = true;
this.lVBusList.Location = new System.Drawing.Point(0, 0);
this.lVBusList.Name = "lVBusList";
this.lVBusList.Size = new System.Drawing.Size(467, 302);
this.lVBusList.TabIndex = 5;
this.lVBusList.View = System.Windows.Forms.View.Details;
this.lVBusList.SelectedIndexChanged += new System.EventHandler(this.lVBusList_SelectedIndexChanged);
//
// BusName
//
this.BusName.Text = "路线名称";
this.BusName.Width = 96;
//
// BusType
//
this.BusType.Text = "汽车类型";
this.BusType.Width = 64;
//
// BusStartStop
//
this.BusStartStop.Text = "始发站";
this.BusStartStop.Width = 76;
//
// BusEndStop
//
this.BusEndStop.Text = "终点站";
this.BusEndStop.Width = 64;
//
// BusDescription
//
this.BusDescription.Text = "途经站点";
this.BusDescription.Width = 164;
//
// panel7
//
this.panel7.Controls.Add(this.btnOpen2);
this.panel7.Controls.Add(this.btnOpen1);
this.panel7.Controls.Add(this.txbEndStop);
this.panel7.Controls.Add(this.txbStartStop);
this.panel7.Controls.Add(this.btnSearch);
this.panel7.Controls.Add(this.label2);
this.panel7.Controls.Add(this.label1);
this.panel7.Dock = System.Windows.Forms.DockStyle.Top;
this.panel7.Location = new System.Drawing.Point(0, 0);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(467, 26);
this.panel7.TabIndex = 0;
//
// btnOpen2
//
this.btnOpen2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.btnOpen2.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOpen2.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen2.Image")));
this.btnOpen2.Location = new System.Drawing.Point(372, 4);
this.btnOpen2.Name = "btnOpen2";
this.btnOpen2.Size = new System.Drawing.Size(18, 18);
this.btnOpen2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnOpen2.TabIndex = 14;
this.btnOpen2.TabStop = false;
this.btnOpen2.Click += new System.EventHandler(this.btnOpen2_Click);
this.btnOpen2.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnOpen2_MouseMove);
this.btnOpen2.MouseLeave += new System.EventHandler(this.btnOpen2_MouseLeave);
this.btnOpen2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnOpen2_MouseDown);
//
// btnOpen1
//
this.btnOpen1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.btnOpen1.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOpen1.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen1.Image")));
this.btnOpen1.Location = new System.Drawing.Point(175, 4);
this.btnOpen1.Name = "btnOpen1";
this.btnOpen1.Size = new System.Drawing.Size(18, 18);
this.btnOpen1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnOpen1.TabIndex = 13;
this.btnOpen1.TabStop = false;
this.btnOpen1.Click += new System.EventHandler(this.btnOpen1_Click);
this.btnOpen1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnOpen1_MouseMove);
this.btnOpen1.MouseLeave += new System.EventHandler(this.btnOpen1_MouseLeave);
this.btnOpen1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnOpen1_MouseDown);
//
// txbEndStop
//
this.txbEndStop.Location = new System.Drawing.Point(240, 3);
this.txbEndStop.Name = "txbEndStop";
this.txbEndStop.Size = new System.Drawing.Size(128, 21);
this.txbEndStop.TabIndex = 12;
this.txbEndStop.Text = "";
//
// txbStartStop
//
this.txbStartStop.Location = new System.Drawing.Point(42, 3);
this.txbStartStop.Name = "txbStartStop";
this.txbStartStop.Size = new System.Drawing.Size(128, 21);
this.txbStartStop.TabIndex = 11;
this.txbStartStop.Text = "";
//
// btnSearch
//
this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image")));
this.btnSearch.Location = new System.Drawing.Point(397, 4);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(40, 18);
this.btnSearch.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnSearch.TabIndex = 10;
this.btnSearch.TabStop = false;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
this.btnSearch.MouseMove += new System.Windows.Forms.MouseEventHandler(this.btnSearch_MouseMove);
this.btnSearch.MouseLeave += new System.EventHandler(this.btnSearch_MouseLeave);
this.btnSearch.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnSearch_MouseDown);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Cursor = System.Windows.Forms.Cursors.No;
this.label2.Location = new System.Drawing.Point(198, 7);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(42, 17);
this.label2.TabIndex = 2;
this.label2.Text = "终点站";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(-1, 6);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(42, 17);
this.label1.TabIndex = 0;
this.label1.Text = "起点站";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel3.Controls.Add(this.lbTitle);
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(125, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(467, 20);
this.panel3.TabIndex = 3;
//
// lbTitle
//
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbTitle.ForeColor = System.Drawing.Color.MintCream;
this.lbTitle.Image = ((System.Drawing.Image)(resources.GetObject("lbTitle.Image")));
this.lbTitle.Location = new System.Drawing.Point(0, 0);
this.lbTitle.Name = "lbTitle";
this.lbTitle.Size = new System.Drawing.Size(463, 16);
this.lbTitle.TabIndex = 2;
this.lbTitle.Text = "3343";
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// splitter1
//
this.splitter1.Location = new System.Drawing.Point(121, 0);
this.splitter1.Name = "splitter1";
this.splitter1.Size = new System.Drawing.Size(4, 395);
this.splitter1.TabIndex = 1;
this.splitter1.TabStop = false;
//
// tVCityList
//
this.tVCityList.Dock = System.Windows.Forms.DockStyle.Left;
this.tVCityList.ImageList = this.imageList2;
this.tVCityList.Location = new System.Drawing.Point(0, 0);
this.tVCityList.Name = "tVCityList";
this.tVCityList.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
new System.Windows.Forms.TreeNode("节点0", new System.Windows.Forms.TreeNode[] {
new System.Windows.Forms.TreeNode("节点1")}),
new System.Windows.Forms.TreeNode("节点3")});
this.tVCityList.SelectedImageIndex = 1;
this.tVCityList.Size = new System.Drawing.Size(121, 395);
this.tVCityList.TabIndex = 0;
this.tVCityList.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tVCityList_AfterSelect);
//
// imageList2
//
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;
//
// plToolbar
//
this.plToolbar.Controls.Add(this.toolBar1);
this.plToolbar.Dock = System.Windows.Forms.DockStyle.Top;
this.plToolbar.Location = new System.Drawing.Point(0, 0);
this.plToolbar.Name = "plToolbar";
this.plToolbar.Size = new System.Drawing.Size(592, 25);
this.plToolbar.TabIndex = 0;
//
// toolBar1
//
this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
this.tbtnSystemManage,
this.tbtnPrint,
this.tbtnHelp,
this.tbtnAbout,
this.tbtnClose});
this.toolBar1.ButtonSize = new System.Drawing.Size(60, 25);
this.toolBar1.Cursor = System.Windows.Forms.Cursors.Hand;
this.toolBar1.DropDownArrows = true;
this.toolBar1.ImageList = this.imageList1;
this.toolBar1.Location = new System.Drawing.Point(0, 0);
this.toolBar1.Name = "toolBar1";
this.toolBar1.ShowToolTips = true;
this.toolBar1.Size = new System.Drawing.Size(592, 28);
this.toolBar1.TabIndex = 0;
this.toolBar1.TabStop = true;
this.toolBar1.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right;
this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
//
// tbtnSystemManage
//
this.tbtnSystemManage.ImageIndex = 0;
this.tbtnSystemManage.Text = "系统管理";
this.tbtnSystemManage.ToolTipText = "系统管理";
//
// tbtnPrint
//
this.tbtnPrint.ImageIndex = 2;
this.tbtnPrint.Text = "打印报表";
//
// tbtnHelp
//
this.tbtnHelp.ImageIndex = 4;
this.tbtnHelp.Text = "使用帮助";
this.tbtnHelp.ToolTipText = "使用帮助";
//
// tbtnAbout
//
this.tbtnAbout.ImageIndex = 3;
this.tbtnAbout.Text = "说明文档";
this.tbtnAbout.ToolTipText = "说明文档";
//
// tbtnClose
//
this.tbtnClose.ImageIndex = 5;
this.tbtnClose.Text = "退出系统";
this.tbtnClose.ToolTipText = "退出系统";
//
// imageList1
//
this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
//
// plRight
//
this.plRight.Controls.Add(this.pictureBox9);
this.plRight.Dock = System.Windows.Forms.DockStyle.Right;
this.plRight.Location = new System.Drawing.Point(596, 26);
this.plRight.Name = "plRight";
this.plRight.Size = new System.Drawing.Size(4, 420);
this.plRight.TabIndex = 4;
//
// pictureBox9
//
this.pictureBox9.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox9.BackgroundImage")));
this.pictureBox9.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox9.Location = new System.Drawing.Point(0, 0);
this.pictureBox9.Name = "pictureBox9";
this.pictureBox9.Size = new System.Drawing.Size(4, 420);
this.pictureBox9.TabIndex = 0;
this.pictureBox9.TabStop = false;
//
// tmClock
//
this.tmClock.Interval = 1000;
this.tmClock.Tick += new System.EventHandler(this.tmClock_Tick);
//
// imageList3
//
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;
//
// timerHide
//
this.timerHide.Tick += new System.EventHandler(this.timerHide_Tick);
//
// timerExit
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -