private void CreateWindow() { _window = new Form(); _box = new Windows.Forms.Progress.LogBox(); _box.Dock = DockStyle.Fill; _window.Controls.Add(_box); _window.Show(); _box.Select(); Application.DoEvents(); }