Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
        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;
        }