public void ClearFileList() { lock (_lockobject) { _filelist.Clear(); } MainForm.MasterFileRemoveAll(1,Micobject.id); }