Truyền file qua mạng LAN FileTransfer C#
- Form1.Designer.cs
- FTClientCode /
- project /
1 namespace FTClientCode
2 {
3 partial class Form1
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, 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 Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 this.components = new System.ComponentModel.Container();
32 this.button1 = new System.Windows.Forms.Button();
33 this.label1 = new System.Windows.Forms.Label();
34 this.label2 = new System.Windows.Forms.Label();
35 this.label3 = new System.Windows.Forms.Label();
36 this.timer1 = new System.Windows.Forms.Timer(this.components);
37 this.SuspendLayout();
38 //
39 // button1
40 //
41 this.button1.Location = new System.Drawing.Point(98, 120);
42 this.button1.Name = "button1";
43 this.button1.Size = new System.Drawing.Size(157, 23);
44 this.button1.TabIndex = 0;
45 this.button1.Text = "Select File to Send";
46 this.button1.UseVisualStyleBackColor = true;
47 this.button1.Click += new System.EventHandler(this.button1_Click);
48 //
49 // label1
50 //
51 this.label1.AutoSize = true;
52 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
53 this.label1.ForeColor = System.Drawing.Color.Green;
54 this.label1.Location = new System.Drawing.Point(12, 22);
55 this.label1.Name = "label1";
56 this.label1.Size = new System.Drawing.Size(359, 16);
57 this.label1.TabIndex = 1;
58 this.label1.Text = "That program can transfer small file. I\'ve test up to 1.5MB file";
59 //
60 // label2
61 //
62 this.label2.AutoSize = true;
63 this.label2.Location = new System.Drawing.Point(21, 157);
64 this.label2.Name = "label2";
65 this.label2.Size = new System.Drawing.Size(79, 13);
66 this.label2.TabIndex = 2;
67 this.label2.Text = "Present Status:";
68 //
69 // label3
70 //
71 this.label3.AutoSize = true;
72 this.label3.Location = new System.Drawing.Point(106, 157);
73 this.label3.Name = "label3";
74 this.label3.Size = new System.Drawing.Size(24, 13);
75 this.label3.TabIndex = 3;
76 this.label3.Text = "Idle";
77 //
78 // timer1
79 //
80 this.timer1.Enabled = true;
81 this.timer1.Interval = 500;
82 this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
83 //
84 // Form1
85 //
86 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
87 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
88 this.ClientSize = new System.Drawing.Size(375, 273);
89 this.Controls.Add(this.label3);
90 this.Controls.Add(this.label2);
91 this.Controls.Add(this.label1);
92 this.Controls.Add(this.button1);
93 this.Name = "Form1";
94 this.Text = "Form1";
95 this.ResumeLayout(false);
96 this.PerformLayout();
97
98 }
99
100 #endregion
101
102 private System.Windows.Forms.Button button1;
103 private System.Windows.Forms.Label label1;
104 private System.Windows.Forms.Label label2;
105 private System.Windows.Forms.Label label3;
106 private System.Windows.Forms.Timer timer1;
107 }
108 }
2 {
3 partial class Form1
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, 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 Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 this.components = new System.ComponentModel.Container();
32 this.button1 = new System.Windows.Forms.Button();
33 this.label1 = new System.Windows.Forms.Label();
34 this.label2 = new System.Windows.Forms.Label();
35 this.label3 = new System.Windows.Forms.Label();
36 this.timer1 = new System.Windows.Forms.Timer(this.components);
37 this.SuspendLayout();
38 //
39 // button1
40 //
41 this.button1.Location = new System.Drawing.Point(98, 120);
42 this.button1.Name = "button1";
43 this.button1.Size = new System.Drawing.Size(157, 23);
44 this.button1.TabIndex = 0;
45 this.button1.Text = "Select File to Send";
46 this.button1.UseVisualStyleBackColor = true;
47 this.button1.Click += new System.EventHandler(this.button1_Click);
48 //
49 // label1
50 //
51 this.label1.AutoSize = true;
52 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
53 this.label1.ForeColor = System.Drawing.Color.Green;
54 this.label1.Location = new System.Drawing.Point(12, 22);
55 this.label1.Name = "label1";
56 this.label1.Size = new System.Drawing.Size(359, 16);
57 this.label1.TabIndex = 1;
58 this.label1.Text = "That program can transfer small file. I\'ve test up to 1.5MB file";
59 //
60 // label2
61 //
62 this.label2.AutoSize = true;
63 this.label2.Location = new System.Drawing.Point(21, 157);
64 this.label2.Name = "label2";
65 this.label2.Size = new System.Drawing.Size(79, 13);
66 this.label2.TabIndex = 2;
67 this.label2.Text = "Present Status:";
68 //
69 // label3
70 //
71 this.label3.AutoSize = true;
72 this.label3.Location = new System.Drawing.Point(106, 157);
73 this.label3.Name = "label3";
74 this.label3.Size = new System.Drawing.Size(24, 13);
75 this.label3.TabIndex = 3;
76 this.label3.Text = "Idle";
77 //
78 // timer1
79 //
80 this.timer1.Enabled = true;
81 this.timer1.Interval = 500;
82 this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
83 //
84 // Form1
85 //
86 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
87 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
88 this.ClientSize = new System.Drawing.Size(375, 273);
89 this.Controls.Add(this.label3);
90 this.Controls.Add(this.label2);
91 this.Controls.Add(this.label1);
92 this.Controls.Add(this.button1);
93 this.Name = "Form1";
94 this.Text = "Form1";
95 this.ResumeLayout(false);
96 this.PerformLayout();
97
98 }
99
100 #endregion
101
102 private System.Windows.Forms.Button button1;
103 private System.Windows.Forms.Label label1;
104 private System.Windows.Forms.Label label2;
105 private System.Windows.Forms.Label label3;
106 private System.Windows.Forms.Timer timer1;
107 }
108 }