コード例 #1
0
ファイル: report.cs プロジェクト: malohtie/reporting
 private void SpamYahoo(Yahoo yahoo)
 {
     if (yahoo.GoToSpamFolder())
     {
         //case 1
         if (read_not_spam.Checked)
         {
             while (yahoo.ReadNotSpam())
             {
                 Application.DoEvents();
             }
         }
         //case 2
         if (check_not_spam.Checked)
         {
             while (yahoo.CheckNotSpam())
             {
                 Application.DoEvents();
             }
         }
         //case 3
         if (ckeckall_not_spam.Checked)
         {
             while (yahoo.CheckAllNotSpam())
             {
                 Application.DoEvents();
             }
         }
     }
 }