AutoWikiBrowser.MainForm.openXML_FileOk C# (CSharp) Method

openXML_FileOk() private method

private openXML_FileOk ( object sender, CancelEventArgs e ) : void
sender object
e CancelEventArgs
return void
        private void openXML_FileOk(object sender, CancelEventArgs e)
        {
            if (openXML.FileName.StartsWith(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache)))
            {
                // What, no <big>, <font color="red"> and <blink>?
                MessageBox.Show(this, "Please review the custom module code and save the config on your PC manually.\r\n"
                                + "DON'T TRUST ANYTHING YOU FIND ON THE INTERNET UNLESS YOU UNDERSTAND WHAT IT DOES.\r\n"
                                + "Failure to abide by this may result in arbitrary code execution on your machine.",
                                "Security warning - READ THIS", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                e.Cancel = true;
            }
        }
MainForm