/// <summary> /// Loads the content in the current window. If no window is open calling this method has no effect. /// </summary> public void Load() { if (_botTab.TabCount < 2) { throw new InvalidOperationException("The Botwindow isn't opened yet. Please use first the Open() method to open a new window."); } Bot.ExeThreadSafe(delegate { _botTab.SelectedTab = _botTab.TabPages[_botTab.SelectedIndex]; _processor.Activate(); _botTab.Focus(); _botTab.Invalidate(); }); }