📄 frmnewsearch.cs
字号:
#region Using directives
using System;
using System.Drawing;
using System.Collections;
using System.Windows.Forms;
using System.Data;
#endregion
namespace UI
{
/// <summary>
/// Summary description for frmNewSearch.
/// </summary>
public class frmNewSearch : System.Windows.Forms.Form
{
private ComboBox comboBox1;
private Label label1;
private Label lblDeviceName;
/// <summary>
/// Main menu for the form.
/// </summary>
private System.Windows.Forms.MainMenu mainMenu1;
public frmNewSearch(Form parent)
{
InitializeComponent();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.mainMenu1 = new System.Windows.Forms.MainMenu();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.lblDeviceName = new System.Windows.Forms.Label();
//
// comboBox1
//
this.comboBox1.Location = new System.Drawing.Point(16, 37);
this.comboBox1.Size = new System.Drawing.Size(141, 24);
//
// label1
//
this.label1.Font = new System.Drawing.Font("Nina", 9F, System.Drawing.FontStyle.Bold);
this.label1.Location = new System.Drawing.Point(5, 82);
this.label1.Size = new System.Drawing.Size(53, 22);
this.label1.Text = "Device:";
//
// lblDeviceName
//
this.lblDeviceName.Font = new System.Drawing.Font("Nina", 9F, System.Drawing.FontStyle.Bold);
this.lblDeviceName.Location = new System.Drawing.Point(64, 81);
this.lblDeviceName.Size = new System.Drawing.Size(108, 22);
this.lblDeviceName.Text = "<device name>";
//
// frmNewSearch
//
this.ClientSize = new System.Drawing.Size(240, 260);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.label1);
this.Controls.Add(this.lblDeviceName);
this.Menu = this.mainMenu1;
this.Text = "New Search";
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -