GuiConsoleForm.GuiConsoleForm C# (CSharp) Method

GuiConsoleForm() public method

public GuiConsoleForm ( string caption, string cmdPrompt, StringHandler, h ) : System
caption string
cmdPrompt string
h StringHandler,
return System
    public GuiConsoleForm(string caption, string cmdPrompt, StringHandler h) 
    {        
        Text = caption;
        prompt = cmdPrompt;
        stringHandler = h;
        textBox = new ConsoleTextBox(this);
        textBox.Dock = DockStyle.Fill;
        textBox.Font = new Font("Tahoma",10,FontStyle.Bold);
        textBox.WordWrap = false;
        
        Width = 750;
        Size = new Size(467, 400);

        timer.Interval = 50;
        timer.Tick += new EventHandler(Execute);
        
        this.Controls.Add(textBox);
    }