/// <summary>
        /// 重置队列
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnReset_Click(object sender, EventArgs e)
        {
            stopCrack();
            crackTask = null;
            btnStop.Text = "暂停";
            btnPost.Enabled = true;

        }
 /// <summary>
 /// 生成生日密码字典
 /// </summary>
 /// <param name="beginBirth">开始日期</param>
 /// <param name="endbirth">结束日期</param>
 /// <returns></returns>
 public void MakeBirth(string beginBirth, string endbirth)
 {
     DateTime bdate = new DateTime();
     DateTime edate = new DateTime();
     bool isConverted = DateTime.TryParse(beginBirth, out bdate) && DateTime.TryParse(endbirth, out edate);
     if (isConverted)
     {
         ///构造所有请求生日的数据
         crackTask = new CrackTaskModel { beginDate = bdate, endDate = edate, currentIndex = 0, state = false };
         crackTask.creakRequests = new List<CrackBirthdayModel>();
         TimeSpan minusdays = edate - bdate;
         for (int i = 0; i <= minusdays.Days; i++)
         {
             var birth = bdate.AddDays(i);
             crackTask.creakRequests.Add(new CrackBirthdayModel
             {
                 account = txtaccount.Text,
                 password = txtPass.Text,
                 month = birth.Month,
                 day = birth.ToString("dd"),
                 year = birth.Year,
                 CreckDate = birth
             });
         }
     }
 }