示例#1
0
 public Form1()
 {
     InitializeComponent();
     //firstRun();
     checkFolderexistence();
     baseFolder = Properties.Settings.Default.defaultFolder;
     cacheFiles = new MovieFiles(baseFolder);
     fileReader = new NFOFileReader(cacheFiles);
     fileWriter = new NFOFileWriter(cacheFiles);
     movieFolder = new MovieFolder("D:/Movies");
 }
示例#2
0
 //calling the MovieFiles class
 public NFOFileReader(MovieFiles mf)
 {
     cacheFiles = mf;
 }
示例#3
0
 //calling the MovieFiles class
 public NFOFileWriter(MovieFiles mf)
 {
     cacheFiles = mf;
 }