22 references to TrustManagerWarningLevel
System.Windows.Forms (22)
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (14)
109
LoadWarningBitmap((publisherName == null) ?
TrustManagerWarningLevel
.Red :
TrustManagerWarningLevel
.Green, this.pictureBoxPublisher);
110
LoadWarningBitmap(((options & (TrustManagerPromptOptions.RequiresPermissions | TrustManagerPromptOptions.WillHaveFullTrust)) != 0) ?
TrustManagerWarningLevel
.Red :
TrustManagerWarningLevel
.Green, this.pictureBoxMachineAccess);
111
LoadWarningBitmap(((options & TrustManagerPromptOptions.AddsShortcut) != 0) ?
TrustManagerWarningLevel
.Yellow :
TrustManagerWarningLevel
.Green, this.pictureBoxInstallation);
113
TrustManagerWarningLevel
locationWarningLevel;
118
locationWarningLevel =
TrustManagerWarningLevel
.Green;
122
locationWarningLevel =
TrustManagerWarningLevel
.Red;
127
locationWarningLevel =
TrustManagerWarningLevel
.Yellow;
356
private static void LoadWarningBitmap(
TrustManagerWarningLevel
warningLevel, System.Windows.Forms.PictureBox pictureBox)
361
case
TrustManagerWarningLevel
.Green:
372
case
TrustManagerWarningLevel
.Yellow:
384
Debug.Assert(warningLevel ==
TrustManagerWarningLevel
.Red);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (8)
589
LoadWarningBitmap(
TrustManagerWarningLevel
.Yellow);
593
LoadWarningBitmap(
TrustManagerWarningLevel
.Red);
599
LoadWarningBitmap(
TrustManagerWarningLevel
.Green);
603
LoadWarningBitmap(
TrustManagerWarningLevel
.Yellow);
644
private void LoadWarningBitmap(
TrustManagerWarningLevel
warningLevel)
649
case
TrustManagerWarningLevel
.Green:
661
case
TrustManagerWarningLevel
.Yellow:
674
Debug.Assert(warningLevel ==
TrustManagerWarningLevel
.Red);