Example #1
0
        private void button_RestoreCache(object sender, RoutedEventArgs e)
        {
            OpenFileDialog diag = new OpenFileDialog();

            if (diag.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                string path = diag.FileName;
                BitmapComparer.RestoreDiffCacheFromDisk(path);
                System.Windows.MessageBox.Show("DONE!");
            }
        }