Beispiel #1
0
        private void button_Refresh_Click(object sender, EventArgs e)
        {
            if (m_cacheFile == null)
            {
                return;
            }
            LoadingDialog loadingDialog = new LoadingDialog();

            loadingDialog.SetData(m_cacheFile);
            Thread thread = new Thread(delegate()
            {
                m_cacheFile.CalculateHashes();
                UpdateView();
            });

            loadingDialog.ShowDialog(thread);
        }