namespace RunCMD

{

partial
class CMDForm

{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components =
null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected
override
void Dispose(
bool disposing)

{
if (disposing && (components !=
null))

{

components.Dispose();

}
base.Dispose(disposing);

}

Windows 窗体设计器生成的代码
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private
void InitializeComponent()

{
this.label1 =
new System.Windows.Forms.Label();
this.txtCommand =
new System.Windows.Forms.TextBox();
this.btnExecute =
new System.Windows.Forms.Button();
this.tbResult =
new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize =
true;
this.label1.Location =
new System.Drawing.Point(6, 11);
this.label1.Name =
"label1";
this.label1.Size =
new System.Drawing.Size(29, 12);
this.label1.TabIndex = 0;
this.label1.Text =
"ping";
//
// txtCommand
//
this.txtCommand.Location =
new System.Drawing.Point(41, 8);
this.txtCommand.Name =
"txtCommand";
this.txtCommand.Size =
new System.Drawing.Size(269, 21);
this.txtCommand.TabIndex = 1;
//
// btnExecute
//
this.btnExecute.Location =
new System.Drawing.Point(316, 6);
this.btnExecute.Name =
"btnExecute";
this.btnExecute.Size =
new System.Drawing.Size(75, 23);
this.btnExecute.TabIndex = 2;
this.btnExecute.Text =
"执行";
this.btnExecute.UseVisualStyleBackColor =
true;
this.btnExecute.Click +=
new System.EventHandler(
this.btnExecute_Click);
//
// tbResult
//
this.tbResult.Location =
new System.Drawing.Point(8, 47);
this.tbResult.Multiline =
true;
this.tbResult.Name =
"tbResult";
this.tbResult.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.tbResult.Size =
new System.Drawing.Size(383, 292);
this.tbResult.TabIndex = 3;
//
// CMDForm
//
this.AutoScaleDimensions =
new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize =
new System.Drawing.Size(403, 364);
this.Controls.Add(
this.tbResult);
this.Controls.Add(
this.btnExecute);
this.Controls.Add(
this.txtCommand);
this.Controls.Add(
this.label1);
this.Name =
"CMDForm";
this.Text =
"运行Command的例子";
this.ResumeLayout(
false);
this.PerformLayout();

}

#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtCommand;
private System.Windows.Forms.Button btnExecute;
private System.Windows.Forms.TextBox tbResult;

}

}