Form1.cs
View Code
Form1.Designer.cs
View Code
1 namespace EncryptTextFileOne
2 {
3 partial class Form1
4 {
5 /// <summary>
6 /// 必需的设计器变量。
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// 清理所有正在使用的资源。
12 /// </summary>
13 /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows 窗体设计器生成的代码
24
25 /// <summary>
26 /// 设计器支持所需的方法 - 不要
27 /// 使用代码编辑器修改此方法的内容。
28 /// </summary>
29 private void InitializeComponent()
30 {
31 this.groupBox1 = new System.Windows.Forms.GroupBox();
32 this.button2 = new System.Windows.Forms.Button();
33 this.button3 = new System.Windows.Forms.Button();
34 this.button1 = new System.Windows.Forms.Button();
35 this.textBox1 = new System.Windows.Forms.TextBox();
36 this.label1 = new System.Windows.Forms.Label();
37 this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
38 this.groupBox1.SuspendLayout();
39 this.SuspendLayout();
40 //
41 // groupBox1
42 //
43 this.groupBox1.Controls.Add(this.button2);
44 this.groupBox1.Controls.Add(this.button3);
45 this.groupBox1.Controls.Add(this.button1);
46 this.groupBox1.Controls.Add(this.textBox1);
47 this.groupBox1.Controls.Add(this.label1);
48 this.groupBox1.Location = new System.Drawing.Point(9, 3);
49 this.groupBox1.Name = "groupBox1";
50 this.groupBox1.Size = new System.Drawing.Size(302, 108);
51 this.groupBox1.TabIndex = 1;
52 this.groupBox1.TabStop = false;
53 this.groupBox1.Text = "加密与解密";
54 //
55 // button2
56 //
57 this.button2.Location = new System.Drawing.Point(17, 79);
58 this.button2.Name = "button2";
59 this.button2.Size = new System.Drawing.Size(75, 23);
60 this.button2.TabIndex = 7;
61 this.button2.Text = "加密(&D)";
62 this.button2.UseVisualStyleBackColor = true;
63 this.button2.Click += new System.EventHandler(this.button2_Click);
64 //
65 // button3
66 //
67 this.button3.Location = new System.Drawing.Point(211, 79);
68 this.button3.Name = "button3";
69 this.button3.Size = new System.Drawing.Size(75, 23);
70 this.button3.TabIndex = 6;
71 this.button3.Text = "解密(&F)";
72 this.button3.UseVisualStyleBackColor = true;
73 this.button3.Click += new System.EventHandler(this.button3_Click);
74 //
75 // button1
76 //
77 this.button1.Location = new System.Drawing.Point(199, 12);
78 this.button1.Name = "button1";
79 this.button1.Size = new System.Drawing.Size(87, 23);
80 this.button1.TabIndex = 5;
81 this.button1.Text = "选择文件(&Q)";
82 this.button1.UseVisualStyleBackColor = true;
83 this.button1.Click += new System.EventHandler(this.button1_Click);
84 //
85 // textBox1
86 //
87 this.textBox1.Location = new System.Drawing.Point(17, 44);
88 this.textBox1.Name = "textBox1";
89 this.textBox1.Size = new System.Drawing.Size(269, 21);
90 this.textBox1.TabIndex = 4;
91 //
92 // label1
93 //
94 this.label1.AutoSize = true;
95 this.label1.Location = new System.Drawing.Point(15, 17);
96 this.label1.Name = "label1";
97 this.label1.Size = new System.Drawing.Size(65, 12);
98 this.label1.TabIndex = 3;
99 this.label1.Text = "文件路径:";
100 //
101 // Form1
102 //
103 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
104 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
105 this.ClientSize = new System.Drawing.Size(326, 119);
106 this.Controls.Add(this.groupBox1);
107 this.MaximizeBox = false;
108 this.MinimizeBox = false;
109 this.Name = "Form1";
110 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
111 this.Text = "对文本文件进行加密与解密";
112 this.groupBox1.ResumeLayout(false);
113 this.groupBox1.PerformLayout();
114 this.ResumeLayout(false);
115
116 }
117
118 #endregion
119
120 private System.Windows.Forms.GroupBox groupBox1;
121 private System.Windows.Forms.Button button2;
122 private System.Windows.Forms.Button button3;
123 private System.Windows.Forms.Button button1;
124 private System.Windows.Forms.TextBox textBox1;
125 private System.Windows.Forms.Label label1;
126 private System.Windows.Forms.OpenFileDialog openFileDialog1;
127 }
128 }
作者:墨明棋妙
出处:http://www.cnblogs.com/ynbt/
关于作者:专注于.Net、WCF和移动互联网开发。
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,如有问题,可以通过ynbt_wang@163.com联系我,非常感谢。 。
出处:http://www.cnblogs.com/ynbt/
关于作者:专注于.Net、WCF和移动互联网开发。
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,如有问题,可以通过ynbt_wang@163.com联系我,非常感谢。 。