public RemoteManagementSetup(IConfigSource config)
        {
            InitializeComponent();

            _config = config;
            _historyLog = RemoteHistory.LoadFromFile<RemoteHistory>("history.xml");
            
            _history.ContextMenu = new System.Windows.Forms.ContextMenu();
            _history.ContextMenu.MenuItems.Add(new MenuItem("Remove", removeHistoryItem));
            
            if (_historyLog != null && _historyLog.IPAddresses != null)
                UpdateHistoryGUI();

            if (_historyLog == null)
                _historyLog = new RemoteHistory();
        }
        public RemoteManagementSetup(IConfigSource config)
        {
            InitializeComponent();

            _config     = config;
            _historyLog = RemoteHistory.LoadFromFile <RemoteHistory>("history.xml");

            _history.ContextMenu = new System.Windows.Forms.ContextMenu();
            _history.ContextMenu.MenuItems.Add(new MenuItem("Remove", removeHistoryItem));

            if (_historyLog != null && _historyLog.IPAddresses != null)
            {
                UpdateHistoryGUI();
            }

            if (_historyLog == null)
            {
                _historyLog = new RemoteHistory();
            }
        }