3 partial class ShareFileForm
8 private System.ComponentModel.IContainer components = null;
14 protected override void Dispose(
bool disposing)
16 if (disposing && (components != null))
20 base.Dispose(disposing);
23 #region Windows Form Designer generated code 29 private void InitializeComponent()
31 System.ComponentModel.ComponentResourceManager resources =
new System.ComponentModel.ComponentResourceManager(typeof(
ShareFileForm));
32 this.label2 =
new System.Windows.Forms.Label();
33 this.label1 =
new System.Windows.Forms.Label();
34 this.textBox_FileName =
new System.Windows.Forms.TextBox();
35 this.groupBox1 =
new System.Windows.Forms.GroupBox();
36 this.checkBox_RevokeControl =
new System.Windows.Forms.CheckBox();
37 this.dateTimePicker_ExpireDate =
new System.Windows.Forms.DateTimePicker();
38 this.textBox_UserPassword =
new System.Windows.Forms.TextBox();
39 this.label7 =
new System.Windows.Forms.Label();
40 this.button_GetComputerId =
new System.Windows.Forms.Button();
41 this.label13 =
new System.Windows.Forms.Label();
42 this.textBox_IncludeComputerIds =
new System.Windows.Forms.TextBox();
43 this.label8 =
new System.Windows.Forms.Label();
44 this.textBox_OutputFilePath =
new System.Windows.Forms.TextBox();
45 this.label6 =
new System.Windows.Forms.Label();
46 this.button_OpenFile =
new System.Windows.Forms.Button();
47 this.label3 =
new System.Windows.Forms.Label();
48 this.textBox_ExcludeUserNames =
new System.Windows.Forms.TextBox();
49 this.label4 =
new System.Windows.Forms.Label();
50 this.textBox_IncludeUserNames =
new System.Windows.Forms.TextBox();
51 this.label5 =
new System.Windows.Forms.Label();
52 this.label_AccessFlags =
new System.Windows.Forms.Label();
53 this.dateTimePicker_ExpireTime =
new System.Windows.Forms.DateTimePicker();
54 this.label12 =
new System.Windows.Forms.Label();
55 this.textBox_ExcludeProcessNames =
new System.Windows.Forms.TextBox();
56 this.label11 =
new System.Windows.Forms.Label();
57 this.textBox_IncludeProcessNames =
new System.Windows.Forms.TextBox();
58 this.label10 =
new System.Windows.Forms.Label();
59 this.button_Apply =
new System.Windows.Forms.Button();
60 this.groupBox1.SuspendLayout();
65 this.label2.AutoSize =
true;
66 this.label2.Location =
new System.Drawing.Point(16, 100);
67 this.label2.Name =
"label2";
68 this.label2.Size =
new System.Drawing.Size(104, 13);
69 this.label2.TabIndex = 2;
70 this.label2.Text =
"Share file expire time";
74 this.label1.AutoSize =
true;
75 this.label1.Location =
new System.Drawing.Point(16, 20);
76 this.label1.Name =
"label1";
77 this.label1.Size =
new System.Drawing.Size(52, 13);
78 this.label1.TabIndex = 1;
79 this.label1.Text =
"File name";
83 this.textBox_FileName.Location =
new System.Drawing.Point(213, 20);
84 this.textBox_FileName.Name =
"textBox_FileName";
85 this.textBox_FileName.Size =
new System.Drawing.Size(242, 20);
86 this.textBox_FileName.TabIndex = 2;
87 this.textBox_FileName.Text =
"c:\\test\\test.txt";
88 this.textBox_FileName.TextChanged +=
new System.EventHandler(this.textBox_FileName_TextChanged);
92 this.groupBox1.Controls.Add(this.checkBox_RevokeControl);
93 this.groupBox1.Controls.Add(this.dateTimePicker_ExpireDate);
94 this.groupBox1.Controls.Add(this.textBox_UserPassword);
95 this.groupBox1.Controls.Add(this.label7);
96 this.groupBox1.Controls.Add(this.button_GetComputerId);
97 this.groupBox1.Controls.Add(this.label13);
98 this.groupBox1.Controls.Add(this.textBox_IncludeComputerIds);
99 this.groupBox1.Controls.Add(this.label8);
100 this.groupBox1.Controls.Add(this.textBox_OutputFilePath);
101 this.groupBox1.Controls.Add(this.label6);
102 this.groupBox1.Controls.Add(this.button_OpenFile);
103 this.groupBox1.Controls.Add(this.label3);
104 this.groupBox1.Controls.Add(this.textBox_ExcludeUserNames);
105 this.groupBox1.Controls.Add(this.label4);
106 this.groupBox1.Controls.Add(this.textBox_IncludeUserNames);
107 this.groupBox1.Controls.Add(this.label5);
108 this.groupBox1.Controls.Add(this.label_AccessFlags);
109 this.groupBox1.Controls.Add(this.dateTimePicker_ExpireTime);
110 this.groupBox1.Controls.Add(this.label12);
111 this.groupBox1.Controls.Add(this.textBox_ExcludeProcessNames);
112 this.groupBox1.Controls.Add(this.label11);
113 this.groupBox1.Controls.Add(this.textBox_IncludeProcessNames);
114 this.groupBox1.Controls.Add(this.label10);
115 this.groupBox1.Controls.Add(this.label2);
116 this.groupBox1.Controls.Add(this.textBox_FileName);
117 this.groupBox1.Controls.Add(this.label1);
118 this.groupBox1.Location =
new System.Drawing.Point(12, 2);
119 this.groupBox1.Name =
"groupBox1";
120 this.groupBox1.Size =
new System.Drawing.Size(538, 401);
121 this.groupBox1.TabIndex = 11;
122 this.groupBox1.TabStop =
false;
126 this.checkBox_RevokeControl.AutoSize =
true;
127 this.checkBox_RevokeControl.Location =
new System.Drawing.Point(212, 378);
128 this.checkBox_RevokeControl.Name =
"checkBox_RevokeControl";
129 this.checkBox_RevokeControl.Size =
new System.Drawing.Size(167, 17);
130 this.checkBox_RevokeControl.TabIndex = 72;
131 this.checkBox_RevokeControl.Text =
"Enable revoke access control";
132 this.checkBox_RevokeControl.UseVisualStyleBackColor =
true;
133 this.checkBox_RevokeControl.Click +=
new System.EventHandler(this.checkBox_RevokeControk_Click);
137 this.dateTimePicker_ExpireDate.CustomFormat =
"yyyy-MM-dd";
138 this.dateTimePicker_ExpireDate.Format =
System.Windows.Forms.DateTimePickerFormat.Custom;
139 this.dateTimePicker_ExpireDate.Location =
new System.Drawing.Point(212, 100);
140 this.dateTimePicker_ExpireDate.Name =
"dateTimePicker_ExpireDate";
141 this.dateTimePicker_ExpireDate.Size =
new System.Drawing.Size(120, 20);
142 this.dateTimePicker_ExpireDate.TabIndex = 71;
146 this.textBox_UserPassword.Location =
new System.Drawing.Point(212, 296);
147 this.textBox_UserPassword.Name =
"textBox_UserPassword";
148 this.textBox_UserPassword.Size =
new System.Drawing.Size(242, 20);
149 this.textBox_UserPassword.TabIndex = 10;
150 this.textBox_UserPassword.UseSystemPasswordChar =
true;
154 this.label7.AutoSize =
true;
155 this.label7.Location =
new System.Drawing.Point(15, 296);
156 this.label7.Name =
"label7";
157 this.label7.Size =
new System.Drawing.Size(115, 13);
158 this.label7.TabIndex = 70;
159 this.label7.Text =
"Require user password";
163 this.button_GetComputerId.Location =
new System.Drawing.Point(461, 330);
164 this.button_GetComputerId.Name =
"button_GetComputerId";
165 this.button_GetComputerId.Size =
new System.Drawing.Size(51, 23);
166 this.button_GetComputerId.TabIndex = 12;
167 this.button_GetComputerId.Text =
"...";
168 this.button_GetComputerId.UseVisualStyleBackColor =
true;
169 this.button_GetComputerId.Click +=
new System.EventHandler(this.button_GetComputerId_Click);
173 this.label13.AutoSize =
true;
174 this.label13.Font =
new System.Drawing.Font(
"Microsoft Sans Serif", 6.75F,
System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
175 this.label13.Location =
new System.Drawing.Point(211, 353);
176 this.label13.Name =
"label13";
177 this.label13.Size =
new System.Drawing.Size(138, 12);
178 this.label13.TabIndex = 68;
179 this.label13.Text =
"(Seperate multiple items with \';\' )";
183 this.textBox_IncludeComputerIds.Location =
new System.Drawing.Point(212, 332);
184 this.textBox_IncludeComputerIds.Name =
"textBox_IncludeComputerIds";
185 this.textBox_IncludeComputerIds.Size =
new System.Drawing.Size(242, 20);
186 this.textBox_IncludeComputerIds.TabIndex = 11;
190 this.label8.AutoSize =
true;
191 this.label8.Location =
new System.Drawing.Point(16, 332);
192 this.label8.Name =
"label8";
193 this.label8.Size =
new System.Drawing.Size(124, 13);
194 this.label8.TabIndex = 67;
195 this.label8.Text =
"Authorized computer Ids";
199 this.textBox_OutputFilePath.Location =
new System.Drawing.Point(213, 60);
200 this.textBox_OutputFilePath.Name =
"textBox_OutputFilePath";
201 this.textBox_OutputFilePath.ReadOnly =
true;
202 this.textBox_OutputFilePath.Size =
new System.Drawing.Size(242, 20);
203 this.textBox_OutputFilePath.TabIndex = 4;
204 this.textBox_OutputFilePath.Text =
"c:\\test\\test.txt.psf";
208 this.label6.AutoSize =
true;
209 this.label6.Location =
new System.Drawing.Point(16, 60);
210 this.label6.Name =
"label6";
211 this.label6.Size =
new System.Drawing.Size(130, 13);
212 this.label6.TabIndex = 66;
213 this.label6.Text =
"Share encrypted file name";
217 this.button_OpenFile.Location =
new System.Drawing.Point(461, 18);
218 this.button_OpenFile.Name =
"button_OpenFile";
219 this.button_OpenFile.Size =
new System.Drawing.Size(51, 23);
220 this.button_OpenFile.TabIndex = 3;
221 this.button_OpenFile.Text =
"browse";
222 this.button_OpenFile.UseVisualStyleBackColor =
true;
223 this.button_OpenFile.Click +=
new System.EventHandler(this.button_OpenFile_Click);
227 this.label3.AutoSize =
true;
228 this.label3.Font =
new System.Drawing.Font(
"Microsoft Sans Serif", 6.75F,
System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
229 this.label3.Location =
new System.Drawing.Point(211, 240);
230 this.label3.Name =
"label3";
231 this.label3.Size =
new System.Drawing.Size(195, 12);
232 this.label3.TabIndex = 63;
233 this.label3.Text =
"(split with \';\' ,user name format \"domain\\user\" )";
237 this.textBox_ExcludeUserNames.Location =
new System.Drawing.Point(213, 260);
238 this.textBox_ExcludeUserNames.Name =
"textBox_ExcludeUserNames";
239 this.textBox_ExcludeUserNames.Size =
new System.Drawing.Size(242, 20);
240 this.textBox_ExcludeUserNames.TabIndex = 9;
244 this.label4.AutoSize =
true;
245 this.label4.Location =
new System.Drawing.Point(16, 260);
246 this.label4.Name =
"label4";
247 this.label4.Size =
new System.Drawing.Size(127, 13);
248 this.label4.TabIndex = 61;
249 this.label4.Text =
"Unauthorized user names";
253 this.textBox_IncludeUserNames.Location =
new System.Drawing.Point(213, 217);
254 this.textBox_IncludeUserNames.Name =
"textBox_IncludeUserNames";
255 this.textBox_IncludeUserNames.Size =
new System.Drawing.Size(242, 20);
256 this.textBox_IncludeUserNames.TabIndex = 8;
260 this.label5.AutoSize =
true;
261 this.label5.Location =
new System.Drawing.Point(16, 220);
262 this.label5.Name =
"label5";
263 this.label5.Size =
new System.Drawing.Size(114, 13);
264 this.label5.TabIndex = 59;
265 this.label5.Text =
"Authorized user names";
269 this.label_AccessFlags.AutoSize =
true;
270 this.label_AccessFlags.Location =
new System.Drawing.Point(16, 372);
271 this.label_AccessFlags.Name =
"label_AccessFlags";
272 this.label_AccessFlags.Size =
new System.Drawing.Size(0, 13);
273 this.label_AccessFlags.TabIndex = 12;
277 this.dateTimePicker_ExpireTime.CustomFormat =
" HH:mm:ss";
278 this.dateTimePicker_ExpireTime.Format =
System.Windows.Forms.DateTimePickerFormat.Time;
279 this.dateTimePicker_ExpireTime.Location =
new System.Drawing.Point(335, 100);
280 this.dateTimePicker_ExpireTime.Name =
"dateTimePicker_ExpireTime";
281 this.dateTimePicker_ExpireTime.ShowUpDown =
true;
282 this.dateTimePicker_ExpireTime.Size =
new System.Drawing.Size(120, 20);
283 this.dateTimePicker_ExpireTime.TabIndex = 5;
287 this.label12.AutoSize =
true;
288 this.label12.Font =
new System.Drawing.Font(
"Microsoft Sans Serif", 6.75F,
System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)));
289 this.label12.Location =
new System.Drawing.Point(211, 161);
290 this.label12.Name =
"label12";
291 this.label12.Size =
new System.Drawing.Size(189, 12);
292 this.label12.TabIndex = 57;
293 this.label12.Text =
"( split with \';\' , process format \"notepad.exe\" )";
297 this.textBox_ExcludeProcessNames.Location =
new System.Drawing.Point(213, 180);
298 this.textBox_ExcludeProcessNames.Name =
"textBox_ExcludeProcessNames";
299 this.textBox_ExcludeProcessNames.Size =
new System.Drawing.Size(242, 20);
300 this.textBox_ExcludeProcessNames.TabIndex = 7;
301 this.textBox_ExcludeProcessNames.Text =
"explorer.exe;";
305 this.label11.AutoSize =
true;
306 this.label11.Location =
new System.Drawing.Point(16, 180);
307 this.label11.Name =
"label11";
308 this.label11.Size =
new System.Drawing.Size(147, 13);
309 this.label11.TabIndex = 55;
310 this.label11.Text =
"Unauthorized process names";
314 this.textBox_IncludeProcessNames.Location =
new System.Drawing.Point(213, 137);
315 this.textBox_IncludeProcessNames.Name =
"textBox_IncludeProcessNames";
316 this.textBox_IncludeProcessNames.Size =
new System.Drawing.Size(242, 20);
317 this.textBox_IncludeProcessNames.TabIndex = 6;
321 this.label10.AutoSize =
true;
322 this.label10.Location =
new System.Drawing.Point(16, 140);
323 this.label10.Name =
"label10";
324 this.label10.Size =
new System.Drawing.Size(131, 13);
325 this.label10.TabIndex = 53;
326 this.label10.Text =
"Authorized process names";
330 this.button_Apply.Location =
new System.Drawing.Point(436, 421);
331 this.button_Apply.Name =
"button_Apply";
332 this.button_Apply.Size =
new System.Drawing.Size(114, 23);
333 this.button_Apply.TabIndex = 15;
334 this.button_Apply.Text =
"Apply Change";
335 this.button_Apply.UseVisualStyleBackColor =
true;
336 this.button_Apply.Click +=
new System.EventHandler(this.button_Apply_Click);
340 this.AutoScaleDimensions =
new System.Drawing.SizeF(6F, 13F);
341 this.AutoScaleMode =
System.Windows.Forms.AutoScaleMode.Font;
342 this.ClientSize =
new System.Drawing.Size(571, 470);
343 this.Controls.Add(this.button_Apply);
344 this.Controls.Add(this.groupBox1);
345 this.Icon = ((
System.Drawing.Icon)(resources.GetObject(
"$this.Icon")));
346 this.MaximizeBox =
false;
347 this.MinimizeBox =
false;
348 this.Name =
"ShareFileForm";
349 this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterParent;
350 this.Text =
"Share Encrypt File With Access Control";
351 this.groupBox1.ResumeLayout(
false);
352 this.groupBox1.PerformLayout();
353 this.ResumeLayout(
false);
359 private System.Windows.Forms.Label label2;
360 private System.Windows.Forms.Label label1;
361 private System.Windows.Forms.TextBox textBox_FileName;
362 private System.Windows.Forms.GroupBox groupBox1;
363 private System.Windows.Forms.Label label_AccessFlags;
364 private System.Windows.Forms.TextBox textBox_ExcludeProcessNames;
365 private System.Windows.Forms.Label label11;
366 private System.Windows.Forms.TextBox textBox_IncludeProcessNames;
367 private System.Windows.Forms.Label label10;
368 private System.Windows.Forms.Label label12;
369 private System.Windows.Forms.Label label3;
370 private System.Windows.Forms.TextBox textBox_ExcludeUserNames;
371 private System.Windows.Forms.Label label4;
372 private System.Windows.Forms.TextBox textBox_IncludeUserNames;
373 private System.Windows.Forms.Label label5;
374 private System.Windows.Forms.DateTimePicker dateTimePicker_ExpireTime;
375 private System.Windows.Forms.Button button_OpenFile;
376 private System.Windows.Forms.TextBox textBox_OutputFilePath;
377 private System.Windows.Forms.Label label6;
378 private System.Windows.Forms.Button button_GetComputerId;
379 private System.Windows.Forms.TextBox textBox_IncludeComputerIds;
380 private System.Windows.Forms.Label label8;
381 private System.Windows.Forms.Label label13;
382 private System.Windows.Forms.Button button_Apply;
383 private System.Windows.Forms.TextBox textBox_UserPassword;
384 private System.Windows.Forms.Label label7;
385 private System.Windows.Forms.DateTimePicker dateTimePicker_ExpireDate;
386 private System.Windows.Forms.CheckBox checkBox_RevokeControl;