示例#1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     shellTextBox = new ShellTextBox();
     SuspendLayout();
     //
     // shellTextBox
     //
     shellTextBox.AcceptsReturn = true;
     shellTextBox.AcceptsTab    = true;
     shellTextBox.BackColor     = Color.Black;
     shellTextBox.Dock          = System.Windows.Forms.DockStyle.Fill;
     shellTextBox.ForeColor     = Color.LawnGreen;
     shellTextBox.Location      = new System.Drawing.Point(0, 0);
     shellTextBox.Multiline     = true;
     shellTextBox.Name          = "shellTextBox";
     shellTextBox.Prompt        = ">>>";
     shellTextBox.ScrollBars    = System.Windows.Forms.ScrollBars.Both;
     shellTextBox.BackColor     = Color.Black;
     shellTextBox.Font          = new Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     shellTextBox.ForeColor     = Color.LawnGreen;
     shellTextBox.Size          = new System.Drawing.Size(232, 216);
     shellTextBox.TabIndex      = 0;
     shellTextBox.Text          = "";
     //
     // ShellControl
     //
     Controls.Add(shellTextBox);
     Name = "ShellControl";
     Size = new System.Drawing.Size(232, 216);
     ResumeLayout(false);
 }
示例#2
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     shellTextBox = new ShellTextBox();
     SuspendLayout();
     //
     // shellTextBox
     //
     shellTextBox.AcceptsReturn = true;
     shellTextBox.AcceptsTab = true;
     shellTextBox.BackColor = Color.Black;
     shellTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
     shellTextBox.ForeColor = Color.LawnGreen;
     shellTextBox.Location = new System.Drawing.Point(0, 0);
     shellTextBox.Multiline = true;
     shellTextBox.Name = "shellTextBox";
     shellTextBox.Prompt = ">>>";
     shellTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     shellTextBox.BackColor = Color.Black;
     shellTextBox.Font = new Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     shellTextBox.ForeColor = Color.LawnGreen;
     shellTextBox.Size = new System.Drawing.Size(232, 216);
     shellTextBox.TabIndex = 0;
     shellTextBox.Text = "";
     //
     // ShellControl
     //
     Controls.Add(shellTextBox);
     Name = "ShellControl";
     Size = new System.Drawing.Size(232, 216);
     ResumeLayout(false);
 }