예제 #1
0
        private void PopulateRazorFolder()
        {
            FilePathParser parser = new FilePathParser();
            Thread         thread = new Thread(parser.PopulateRazorLocation);

            thread.SetApartmentState(ApartmentState.STA);
            thread.Start();
        }
예제 #2
0
        private void GetPath()
        {
            FilePathParser parser = new FilePathParser();
            Thread         thread = new Thread(parser.GetFilePath);

            thread.SetApartmentState(ApartmentState.STA);
            thread.Start();
        }