Esempio n. 1
0
 public static CoreProcessor GetInstance()
 {
     if (__Instance == null)
     {
         __Instance = new CoreProcessor();
     }
     return(__Instance);
 }
Esempio n. 2
0
 public Form1()
 {
     InitializeComponent();
     processor     = CoreProcessor.GetInstance();
     tbSaveTo.Text = "D:\\Movies\\output.mp4";
     saveFileDialog1.CheckFileExists = false;
     fileSizes   = new List <int>();
     processes   = new List <Process>();
     percentages = new List <string>();
 }