Beispiel #1
0
 public MainWindow(WebProcess _web, string _username, string _password)
 {
     onInit   = true;
     web      = _web;
     username = _username;
     password = _password;
     mail     = new POP3Mail();
     mail.setAccount(username, password);
     mailock = false;
     InitializeComponent();
 }
 public LoginWindow()
 {
     InitializeComponent();
     try
     {
         web = new WebProcess(ref captchaImg);
     }catch
     {
         MessageBox.Show("网络故障.");
         Close();
     }
 }