ACR_BuilderPlugin.PluginMain.ValidateModule C# (CSharp) 메소드

ValidateModule() 개인적인 메소드

Checks the module for common errors, and logs them to a file. Handled by the ValidateWindow class.
private ValidateModule ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void
        private void ValidateModule(object sender, EventArgs e)
        {
            if (MessageBox.Show("This tool will check for common errors in using ACR tools. Validating a module may take several minutes. Continue?", "Validate Module", MessageBoxButtons.OKCancel) == DialogResult.Cancel) return;
            try
            {
                ModuleValidator validator = new ModuleValidator();
                validator.Run();
            }
            catch (Exception exception)
            {
                MessageBox.Show(exception.ToString());
            }
        }