コード例 #1
0
 public MainForm()
 {
     InitializeComponent();
     pfsf         = new PopupFileSearchForm();
     pfsf.Visible = false;
     pfsf.Left    = this.Left;
     pfsf.Top     = this.Top - 50;
     fs           = new FileSearch(ref pfsf);
 }
コード例 #2
0
 public FileSearch(ref PopupFileSearchForm sForm)
 {
     this.sForm               = sForm;
     lastLookup               = new List <FileInfo>();
     workingLastLookup        = new List <FileInfo>();
     lastExecutableFileSearch = DateTime.Now;
     executableFileBW         = new BackgroundWorker();
     executableFileBW.DoWork += ExecutableFileBW_DoWork;
     executableFileBW.RunWorkerAsync();
 }