- // Startup Functions \r
- private void queueRecovery()\r
- {\r
- if (Main.CheckQueueRecovery())\r
- {\r
- DialogResult result =\r
- MessageBox.Show(\r
- "HandBrake has detected unfinished items on the queue from the last time the application was launched. Would you like to recover these?",\r
- "Queue Recovery Possible", MessageBoxButtons.YesNo, MessageBoxIcon.Question);\r
-\r
- if (result == DialogResult.Yes)\r
- encodeQueue.LoadQueueFromFile("hb_queue_recovery.xml"); // Start Recovery\r
- else\r
- {\r
- // Remove the Queue recovery file if the user doesn't want to recovery the last queue.\r
- string queuePath = Path.Combine(Path.GetTempPath(), "hb_queue_recovery.xml");\r
- if (File.Exists(queuePath))\r
- File.Delete(queuePath);\r
- }\r
- }\r
- }\r
-\r
- private void UpdateSplashStatus(Label status, string text)\r
- {\r
- status.Text = text;\r
- Application.DoEvents();\r
- }\r
-\r