Пример #1
0
 /// <summary>
 /// 清空全部任务
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnClearTask_Click(object sender, RoutedEventArgs e)
 {
     if (System.Windows.Forms.MessageBox.Show(resourceManager.GetString("Delete_Task_Tips", cultureInfo), resourceManager.GetString("Delete_Task_Confirmation", cultureInfo), System.Windows.Forms.MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
     {
         TasksBLL.DeleteTasks(-1);
         getTasksList();
     }
 }