private void Form1_Load(object sender, EventArgs e) { FtpCredentials frm = new FtpCredentials(); frm.ShowDialog(); ftpClientCtl1.Host = Properties.Settings.Default.Host; ftpClientCtl1.Username = Properties.Settings.Default.Username; ftpClientCtl1.Password = Properties.Settings.Default.Password; ftpClientCtl1.Populate(); }
private void buttonSendBulkImage_Click(object sender, EventArgs e) { FtpCredentials ftpCredentialFrm = new FtpCredentials(); ftpCredentialFrm.Show(); }