public GUIStream(IronTextBox ctb) { consoleTextBox = ctb; }
private void InitializeComponent() { this.consoleTextBox = new UIIronTextBox.IronTextBox(); this.SuspendLayout(); // // consoleTextBox // // this.consoleTextBox.AcceptsReturn = true; this.consoleTextBox.AcceptsTab = true; this.consoleTextBox.BackColor = Color.Black; this.consoleTextBox.ForeColor = Color.White; this.consoleTextBox.Dock = DockStyle.Fill; this.consoleTextBox.Location = new Point(0, 0); this.consoleTextBox.Multiline = true; this.consoleTextBox.Name = "consoleTextBox"; this.consoleTextBox.Prompt = "---- Python Mode ----"; this.consoleTextBox.ScrollBars = RichTextBoxScrollBars.Vertical; this.consoleTextBox.Font = new Font("DejaVu Sans Mono", 10); this.consoleTextBox.Size = new Size(232, 216); this.consoleTextBox.TabIndex = 0; // // IronTextBoxControl // this.Controls.Add(this.consoleTextBox); this.Name = "IronTextBoxControl"; this.Size = new Size(232, 216); this.ResumeLayout(false); this.consoleTextBox.Text = "Pyjama Output:"; this.consoleTextBox.printPrompt(); }