-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfrmSearchFile.Designer.cs
More file actions
123 lines (118 loc) · 4.14 KB
/
frmSearchFile.Designer.cs
File metadata and controls
123 lines (118 loc) · 4.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
namespace myproject
{
partial class frmSearchFile
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
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()
{
folderBrowserDialog1 = new FolderBrowserDialog();
txtDirectory = new TextBox();
label1 = new Label();
btnBrowse = new Button();
btnSearch = new Button();
lstPythonFiles = new ListBox();
label2 = new Label();
SuspendLayout();
//
// txtDirectory
//
txtDirectory.Location = new Point(60, 15);
txtDirectory.Name = "txtDirectory";
txtDirectory.Size = new Size(197, 28);
txtDirectory.TabIndex = 0;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(12, 18);
label1.Name = "label1";
label1.Size = new Size(42, 22);
label1.TabIndex = 1;
label1.Text = "路径";
//
// btnBrowse
//
btnBrowse.Location = new Point(274, 12);
btnBrowse.Name = "btnBrowse";
btnBrowse.Size = new Size(95, 33);
btnBrowse.TabIndex = 2;
btnBrowse.Text = "浏览";
btnBrowse.UseVisualStyleBackColor = true;
btnBrowse.Click += btnBrowse_Click;
//
// btnSearch
//
btnSearch.Location = new Point(12, 62);
btnSearch.Name = "btnSearch";
btnSearch.Size = new Size(346, 33);
btnSearch.TabIndex = 3;
btnSearch.Text = "搜索";
btnSearch.UseVisualStyleBackColor = true;
btnSearch.Click += btnSearch_Click;
//
// lstPythonFiles
//
lstPythonFiles.FormattingEnabled = true;
lstPythonFiles.Location = new Point(12, 135);
lstPythonFiles.Name = "lstPythonFiles";
lstPythonFiles.Size = new Size(346, 180);
lstPythonFiles.TabIndex = 4;
lstPythonFiles.DoubleClick += lstPythonFiles_DoubleClick;
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(12, 110);
label2.Name = "label2";
label2.Size = new Size(74, 22);
label2.TabIndex = 5;
label2.Text = "搜索结果";
//
// frmSearchFile
//
AutoScaleDimensions = new SizeF(10F, 22F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(384, 327);
Controls.Add(label2);
Controls.Add(lstPythonFiles);
Controls.Add(btnSearch);
Controls.Add(btnBrowse);
Controls.Add(label1);
Controls.Add(txtDirectory);
Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
Margin = new Padding(4);
Name = "frmSearchFile";
Text = "示例:搜索文件";
ResumeLayout(false);
PerformLayout();
}
#endregion
private FolderBrowserDialog folderBrowserDialog1;
private TextBox txtDirectory;
private Label label1;
private Button btnBrowse;
private Button btnSearch;
private ListBox lstPythonFiles;
private Label label2;
}
}