public bool ShowDialog(ManagedApplication application)
{
InstructionsTB.Text =
"It is not possible to set permissions on trust lists which are Windows certificate stores. " +
"It also may not be possible to permissions on private keys stored in a Windows certificate store on some machines. " +
"In these cases, the application should be configured to use directory stores.";
ChangeApplicationPermissionBTN.Enabled = false;
ChangeTrustListPermissionBTN.Enabled = false;
Update(application);
if (ShowDialog() != DialogResult.OK)
{
return false;
}
return true;
}