|
@@ -1,17 +1,16 @@
|
|
|
-
|
|
|
-namespace xicheji
|
|
|
+namespace xicheji
|
|
|
{
|
|
|
partial class MainForm
|
|
|
{
|
|
|
/// <summary>
|
|
|
- /// 必需的设计器变量。
|
|
|
+ /// Required designer variable.
|
|
|
/// </summary>
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 清理所有正在使用的资源。
|
|
|
+ /// Clean up any resources being used.
|
|
|
/// </summary>
|
|
|
- /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
protected override void Dispose(bool disposing)
|
|
|
{
|
|
|
if (disposing && (components != null))
|
|
@@ -21,90 +20,77 @@ namespace xicheji
|
|
|
base.Dispose(disposing);
|
|
|
}
|
|
|
|
|
|
- #region Windows 窗体设计器生成的代码
|
|
|
+ #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()
|
|
|
{
|
|
|
- this.button1 = new System.Windows.Forms.Button();
|
|
|
- this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
- this.button2 = new System.Windows.Forms.Button();
|
|
|
- this.button3 = new System.Windows.Forms.Button();
|
|
|
- this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
|
|
- this.SuspendLayout();
|
|
|
+ button1 = new Button();
|
|
|
+ richTextBox1 = new RichTextBox();
|
|
|
+ button2 = new Button();
|
|
|
+ button3 = new Button();
|
|
|
+ SuspendLayout();
|
|
|
//
|
|
|
// button1
|
|
|
//
|
|
|
- this.button1.Location = new System.Drawing.Point(197, 74);
|
|
|
- this.button1.Name = "button1";
|
|
|
- this.button1.Size = new System.Drawing.Size(75, 23);
|
|
|
- this.button1.TabIndex = 0;
|
|
|
- this.button1.Text = "open";
|
|
|
- this.button1.UseVisualStyleBackColor = true;
|
|
|
- this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
+ button1.Location = new Point(126, 47);
|
|
|
+ button1.Name = "button1";
|
|
|
+ button1.Size = new Size(75, 23);
|
|
|
+ button1.TabIndex = 0;
|
|
|
+ button1.Text = "button1";
|
|
|
+ button1.UseVisualStyleBackColor = true;
|
|
|
+ button1.Click += button1_Click;
|
|
|
//
|
|
|
- // textBox1
|
|
|
+ // richTextBox1
|
|
|
//
|
|
|
- this.textBox1.Location = new System.Drawing.Point(134, 127);
|
|
|
- this.textBox1.Name = "textBox1";
|
|
|
- this.textBox1.Size = new System.Drawing.Size(100, 21);
|
|
|
- this.textBox1.TabIndex = 1;
|
|
|
+ richTextBox1.Location = new Point(462, 28);
|
|
|
+ richTextBox1.Name = "richTextBox1";
|
|
|
+ richTextBox1.Size = new Size(299, 392);
|
|
|
+ richTextBox1.TabIndex = 1;
|
|
|
+ richTextBox1.Text = "";
|
|
|
//
|
|
|
// button2
|
|
|
//
|
|
|
- this.button2.Location = new System.Drawing.Point(259, 125);
|
|
|
- this.button2.Name = "button2";
|
|
|
- this.button2.Size = new System.Drawing.Size(75, 23);
|
|
|
- this.button2.TabIndex = 2;
|
|
|
- this.button2.Text = "read";
|
|
|
- this.button2.UseVisualStyleBackColor = true;
|
|
|
- this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
+ button2.Location = new Point(126, 76);
|
|
|
+ button2.Name = "button2";
|
|
|
+ button2.Size = new Size(75, 23);
|
|
|
+ button2.TabIndex = 3;
|
|
|
+ button2.Text = "button2";
|
|
|
+ button2.UseVisualStyleBackColor = true;
|
|
|
+ button2.Click += button2_Click;
|
|
|
//
|
|
|
// button3
|
|
|
//
|
|
|
- this.button3.Location = new System.Drawing.Point(197, 177);
|
|
|
- this.button3.Name = "button3";
|
|
|
- this.button3.Size = new System.Drawing.Size(75, 23);
|
|
|
- this.button3.TabIndex = 3;
|
|
|
- this.button3.Text = "close";
|
|
|
- this.button3.UseVisualStyleBackColor = true;
|
|
|
- this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
|
- //
|
|
|
- // richTextBox1
|
|
|
- //
|
|
|
- this.richTextBox1.Location = new System.Drawing.Point(458, 104);
|
|
|
- this.richTextBox1.Name = "richTextBox1";
|
|
|
- this.richTextBox1.Size = new System.Drawing.Size(330, 315);
|
|
|
- this.richTextBox1.TabIndex = 4;
|
|
|
- this.richTextBox1.Text = "";
|
|
|
+ button3.Location = new Point(115, 125);
|
|
|
+ button3.Name = "button3";
|
|
|
+ button3.Size = new Size(75, 23);
|
|
|
+ button3.TabIndex = 4;
|
|
|
+ button3.Text = "button3";
|
|
|
+ button3.UseVisualStyleBackColor = true;
|
|
|
+ button3.Click += button3_Click;
|
|
|
//
|
|
|
- // Form1
|
|
|
+ // MainForm
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(800, 450);
|
|
|
- this.Controls.Add(this.richTextBox1);
|
|
|
- this.Controls.Add(this.button3);
|
|
|
- this.Controls.Add(this.button2);
|
|
|
- this.Controls.Add(this.textBox1);
|
|
|
- this.Controls.Add(this.button1);
|
|
|
- this.Name = "Form1";
|
|
|
- this.Text = "Form1";
|
|
|
- this.ResumeLayout(false);
|
|
|
- this.PerformLayout();
|
|
|
-
|
|
|
+ AutoScaleDimensions = new SizeF(7F, 17F);
|
|
|
+ AutoScaleMode = AutoScaleMode.Font;
|
|
|
+ ClientSize = new Size(800, 450);
|
|
|
+ Controls.Add(button3);
|
|
|
+ Controls.Add(button2);
|
|
|
+ Controls.Add(richTextBox1);
|
|
|
+ Controls.Add(button1);
|
|
|
+ Name = "MainForm";
|
|
|
+ Text = "Form1";
|
|
|
+ ResumeLayout(false);
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
- private System.Windows.Forms.Button button1;
|
|
|
- private System.Windows.Forms.TextBox textBox1;
|
|
|
- private System.Windows.Forms.Button button2;
|
|
|
- private System.Windows.Forms.Button button3;
|
|
|
- private System.Windows.Forms.RichTextBox richTextBox1;
|
|
|
+ private Button button1;
|
|
|
+ private RichTextBox richTextBox1;
|
|
|
+ private Button button2;
|
|
|
+ private Button button3;
|
|
|
}
|
|
|
}
|
|
|
-
|