SearchFile.cs 654 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace Waka.Lego.FileTool.Views
  11. {
  12. public partial class SearchFile : Form
  13. {
  14. public bool IsExist { get; set; }
  15. public SearchFile(bool isExist)
  16. {
  17. InitializeComponent();
  18. IsExist = isExist;
  19. }
  20. private void SearchFile_Load(object sender, EventArgs e)
  21. {
  22. label1.Text = "您查找的文件:" + (IsExist ? "存在" : "不存在");
  23. }
  24. }
  25. }