Form1.cs
View Code
Form1.Designer.cs
View Code
1 namespace EncryptTextFileTwo
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.button4 = new System.Windows.Forms.Button();
33 this.button3 = new System.Windows.Forms.Button();
34 this.textBox1 = new System.Windows.Forms.TextBox();
35 this.button2 = new System.Windows.Forms.Button();
36 this.label2 = new System.Windows.Forms.Label();
37 this.label1 = new System.Windows.Forms.Label();
38 this.pictureBox1 = new System.Windows.Forms.PictureBox();
39 this.button1 = new System.Windows.Forms.Button();
40 this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
41 this.groupBox1.SuspendLayout();
42 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
43 this.SuspendLayout();
44 //
45 // groupBox1
46 //
47 this.groupBox1.Controls.Add(this.button4);
48 this.groupBox1.Controls.Add(this.button3);
49 this.groupBox1.Controls.Add(this.textBox1);
50 this.groupBox1.Controls.Add(this.button2);
51 this.groupBox1.Controls.Add(this.label2);
52 this.groupBox1.Controls.Add(this.label1);
53 this.groupBox1.Controls.Add(this.pictureBox1);
54 this.groupBox1.Controls.Add(this.button1);
55 this.groupBox1.Location = new System.Drawing.Point(11, 3);
56 this.groupBox1.Name = "groupBox1";
57 this.groupBox1.Size = new System.Drawing.Size(282, 206);
58 this.groupBox1.TabIndex = 0;
59 this.groupBox1.TabStop = false;
60 //
61 // button4
62 //
63 this.button4.Location = new System.Drawing.Point(189, 172);
64 this.button4.Name = "button4";
65 this.button4.Size = new System.Drawing.Size(75, 23);
66 this.button4.TabIndex = 15;
67 this.button4.Text = "解密";
68 this.button4.UseVisualStyleBackColor = true;
69 this.button4.Click += new System.EventHandler(this.button4_Click);
70 //
71 // button3
72 //
73 this.button3.Location = new System.Drawing.Point(90, 172);
74 this.button3.Name = "button3";
75 this.button3.Size = new System.Drawing.Size(75, 23);
76 this.button3.TabIndex = 14;
77 this.button3.Text = "加密";
78 this.button3.UseVisualStyleBackColor = true;
79 this.button3.Click += new System.EventHandler(this.button3_Click);
80 //
81 // textBox1
82 //
83 this.textBox1.Location = new System.Drawing.Point(21, 145);
84 this.textBox1.Name = "textBox1";
85 this.textBox1.Size = new System.Drawing.Size(243, 21);
86 this.textBox1.TabIndex = 13;
87 //
88 // button2
89 //
90 this.button2.Location = new System.Drawing.Point(170, 116);
91 this.button2.Name = "button2";
92 this.button2.Size = new System.Drawing.Size(94, 23);
93 this.button2.TabIndex = 12;
94 this.button2.Text = "打开文本文件\r\n";
95 this.button2.UseVisualStyleBackColor = true;
96 this.button2.Click += new System.EventHandler(this.button2_Click);
97 //
98 // label2
99 //
100 this.label2.AutoSize = true;
101 this.label2.Location = new System.Drawing.Point(21, 126);
102 this.label2.Name = "label2";
103 this.label2.Size = new System.Drawing.Size(65, 12);
104 this.label2.TabIndex = 11;
105 this.label2.Text = "文本文件:";
106 //
107 // label1
108 //
109 this.label1.AutoSize = true;
110 this.label1.Location = new System.Drawing.Point(17, 26);
111 this.label1.Name = "label1";
112 this.label1.Size = new System.Drawing.Size(65, 12);
113 this.label1.TabIndex = 10;
114 this.label1.Text = "显示图片:";
115 //
116 // pictureBox1
117 //
118 this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
119 this.pictureBox1.Location = new System.Drawing.Point(17, 45);
120 this.pictureBox1.Name = "pictureBox1";
121 this.pictureBox1.Size = new System.Drawing.Size(247, 61);
122 this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
123 this.pictureBox1.TabIndex = 9;
124 this.pictureBox1.TabStop = false;
125 //
126 // button1
127 //
128 this.button1.Location = new System.Drawing.Point(187, 15);
129 this.button1.Name = "button1";
130 this.button1.Size = new System.Drawing.Size(75, 23);
131 this.button1.TabIndex = 8;
132 this.button1.Text = "打开图片";
133 this.button1.UseVisualStyleBackColor = true;
134 this.button1.Click += new System.EventHandler(this.button1_Click);
135 //
136 // Form1
137 //
138 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
139 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
140 this.ClientSize = new System.Drawing.Size(304, 218);
141 this.Controls.Add(this.groupBox1);
142 this.MaximizeBox = false;
143 this.MinimizeBox = false;
144 this.Name = "Form1";
145 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
146 this.Text = "利用图片对文件进行加密与解密";
147 this.groupBox1.ResumeLayout(false);
148 this.groupBox1.PerformLayout();
149 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
150 this.ResumeLayout(false);
151
152 }
153
154 #endregion
155
156 private System.Windows.Forms.GroupBox groupBox1;
157 private System.Windows.Forms.Button button4;
158 private System.Windows.Forms.Button button3;
159 private System.Windows.Forms.TextBox textBox1;
160 private System.Windows.Forms.Button button2;
161 private System.Windows.Forms.Label label2;
162 private System.Windows.Forms.Label label1;
163 private System.Windows.Forms.PictureBox pictureBox1;
164 private System.Windows.Forms.Button button1;
165 private System.Windows.Forms.OpenFileDialog openFileDialog1;
166 }
167 }
作者:墨明棋妙
出处:http://www.cnblogs.com/ynbt/
关于作者:专注于.Net、WCF和移动互联网开发。
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,如有问题,可以通过ynbt_wang@163.com联系我,非常感谢。 。
出处:http://www.cnblogs.com/ynbt/
关于作者:专注于.Net、WCF和移动互联网开发。
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,如有问题,可以通过ynbt_wang@163.com联系我,非常感谢。 。