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