Argonaut.MainWindow.bReconstruct_Click C# (CSharp) Метод

bReconstruct_Click() приватный Метод

private bReconstruct_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Результат void
        private void bReconstruct_Click(object sender, RoutedEventArgs e)
        {
            WorkerThread = new Thread(new ThreadStart(Do_Work));
            string inFile = tbFileName.Text;
            //first check to see that the file is an input file exists
            if (!File.Exists(inFile))
            {
                WriteToLog("[ERROR] Input File " + inFile + " does not exist!");
                return;
            }
            outPath = GetTempDirectory();
            thresh = (int)sliderFill.Value;
            inputFile = inFile;
            bReconstruct.IsEnabled = false;
            String path = System.IO.Path.GetFullPath(@".\loading_main.html");
            WebHandle.Source = new Uri(path);
            // CarusoSample.SecondDeliverable.Preprocess_Final(inputFile, outPath, false, thresh);
            WorkerThread.Start();
            //Workers.Preprocess_Final(inputFile, outPath, thresh);
            //Workers.Reconstruct("image", outPath, false);
        }