Exemplo n.º 1
0
        private void btnAddProxy_Click(object sender, EventArgs e)
        {
            AddProxyForm form = new AddProxyForm();

            form.ShowDialog();
            if (form.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                this.proxyDataModel.AddProxyList(form.GetData());
            }
        }
Exemplo n.º 2
0
        private void btnAddProxy_Click(object sender, EventArgs e)
        {
            var form = new AddProxyForm();

            form.ShowDialog();
            if (form.DialogResult == DialogResult.OK)
            {
                _proxyDataModel.AddProxyList(form.GetData());
            }
        }