Exemplo n.º 1
0
        private void PopulateRazorFolder()
        {
            FilePathParser parser = new FilePathParser();
            Thread         thread = new Thread(parser.PopulateRazorLocation);

            thread.SetApartmentState(ApartmentState.STA);
            thread.Start();
        }
Exemplo n.º 2
0
        private void GetPath()
        {
            FilePathParser parser = new FilePathParser();
            Thread         thread = new Thread(parser.GetFilePath);

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