コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.shellControl1 = new UILibrary.ShellControl();
     this.SuspendLayout();
     //
     // shellControl1
     //
     this.shellControl1.Location           = new System.Drawing.Point(0, 0);
     this.shellControl1.Name               = "shellControl1";
     this.shellControl1.Prompt             = ">>>";
     this.shellControl1.ShellTextBackColor = System.Drawing.Color.Black;
     this.shellControl1.ShellTextFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.shellControl1.ShellTextForeColor = System.Drawing.Color.LimeGreen;
     this.shellControl1.Size               = new System.Drawing.Size(576, 372);
     this.shellControl1.TabIndex           = 0;
     this.shellControl1.Load              += new System.EventHandler(this.shellControl1_Load);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 18);
     this.ClientSize        = new System.Drawing.Size(662, 491);
     this.Controls.Add(this.shellControl1);
     this.Name = "Form1";
     this.Text = "ShellControl TestApp";
     this.ResumeLayout(false);
 }
コード例 #2
0
ファイル: ShellForm.cs プロジェクト: brusand/albums
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.shellControl1 = new UILibrary.ShellControl();
     this.SuspendLayout();
     //
     // shellControl1
     //
     this.shellControl1.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.shellControl1.Location           = new System.Drawing.Point(0, 0);
     this.shellControl1.Name               = "shellControl1";
     this.shellControl1.Prompt             = ">>>";
     this.shellControl1.ShellTextBackColor = System.Drawing.Color.Black;
     this.shellControl1.ShellTextFont      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.shellControl1.ShellTextForeColor = System.Drawing.Color.LimeGreen;
     this.shellControl1.Size               = new System.Drawing.Size(360, 269);
     this.shellControl1.TabIndex           = 0;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(360, 269);
     this.Controls.Add(shellControl1);
     this.Name = "ShellConsole";
     this.Text = "ShellControl App";
     this.ResumeLayout(false);
 }