private void btnDownload_Click(object sender, EventArgs e)
        {
            DownloadContactsForm dlc = new DownloadContactsForm();

            dlc.parentForm = this;
            dlc.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnDownload_Click(object sender, EventArgs e)
        {
            DownloadContactsForm dlc = new DownloadContactsForm();

            dlc.parentForm = this;
            dlc.mainForm   = this.MdiParent as MainForm;
            try
            {
                dlc.ShowDialog();
            }
            catch (Exception)
            {
                MessageBox.Show(Settings.dicCommon["UnableDownloadFromInternet"]);
                return;
            }
        }