Beispiel #1
0
 private void bConn_Click(object sender, EventArgs e) {
     using (ConnForm form = new ConnForm()) {
         if (form.ShowDialog(this) == DialogResult.OK) {
             using (this.pop3) { }
             this.pop3 = form.pop3;
             UpdateLvm();
         }
     }
 }
Beispiel #2
0
        private void bOk_Click(object sender, EventArgs e) {
            pop3 = new POP3(Host, Port, U, P);

            DialogResult = DialogResult.OK;
            Close();
        }