private void updateTextBox() { string[] toUpdate = (string[])this.al.ToArray(typeof(string)); this.SuspendLayout(); this.outputTextBox.Lines = toUpdate; //Make it scroll to the bottom uint WM_VSCROLL = 0x0115; uint SB_BOTTOM = 7; TrafficDisplayForm.SendMessage(this.outputTextBox.Handle, WM_VSCROLL, SB_BOTTOM, 0); this.ResumeLayout(); }
public RecorderForm() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // this.tdf = new TrafficDisplayForm(); this.connectionComboBox.SelectedIndex = 0; }