/// <summary> /// Starts reading the demo in a new thread. /// </summary> public Thread Read(IMainWindow mainWindowInterface, IDemoListView demoListViewInterface) { this.mainWindowInterface = mainWindowInterface; this.demoListViewInterface = demoListViewInterface; // calculate file full path and name //fileFullPath = Path.GetFullPath(fileFullPath); // something to do with 8.3? name = Path.GetFileNameWithoutExtension(fileFullPath); // start the reading thread Thread thread = new Thread(new ThreadStart(ReadingThread)); thread.Name = "Reading Demo"; thread.Start(); return(thread); }
/// <summary> /// Starts reading the demo in a new thread. /// </summary> public Thread Read(IMainWindow mainWindowInterface, IDemoListView demoListViewInterface) { this.mainWindowInterface = mainWindowInterface; this.demoListViewInterface = demoListViewInterface; // calculate file full path and name //fileFullPath = Path.GetFullPath(fileFullPath); // something to do with 8.3? name = Path.GetFileNameWithoutExtension(fileFullPath); // start the reading thread Thread thread = new Thread(new ThreadStart(ReadingThread)); thread.Name = "Reading Demo"; thread.Start(); return thread; }