Пример #1
0
        // * //
        // When user hits the encrypt button for Home Folder //
        private void ReportEncryptHomeError(BooleanResult res)
        {
            if (res.Message != null)
            {
                MessageBox.Show(res.Message);
            }

            // Reset state of window, and display error conditions
            this.Cursor = Cursors.Default;
            g_tabContainer.Controls[0].Enabled = true;
            l_statusLabel.Text = "ERROR";
            s_progress.Value = 0;
            s_progress.Visible = false;
        }