private void LoadExistingProxy()
        {
            var proxyDto = _proxySettingService.Get(proxy => proxy.ProxySettingId == _proxyId.Value).First();

            ProxyNameTxt.Text = proxyDto.Name;
            IpAddressTxt.Text = proxyDto.IpAddress;
            PortTxt.Text      = proxyDto.Port.ToString();
            ScriptTxt.Text    = proxyDto.Script;
        }
        private void onProxyClick(object sender, EventArgs e)
        {
            var menuItem = (ToolStripMenuItem)sender;

            UncheckAllItems();
            menuItem.Checked = true;
            var proxy = _proxySettingService.Get(prx => prx.Name == menuItem.Text).First();

            _proxyManager.ConnectToProxy(proxy);
        }