Skip to content

Commit 2f070a5

Browse files
Refactor new API Symbols.
1 parent 5ccb2e8 commit 2f070a5

File tree

1 file changed

+0
-8
lines changed
  • src/System.Windows.Forms/System/Windows/Forms

1 file changed

+0
-8
lines changed

src/System.Windows.Forms/System/Windows/Forms/Form.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2655,7 +2655,6 @@ public event FormClosingEventHandler? FormClosing
26552655
/// </summary>
26562656
[SRCategory(nameof(SR.CatAppearance))]
26572657
[SRDescription(nameof(SR.FormBorderColorChangedDescr))]
2658-
[Experimental(DiagnosticIDs.ExperimentalDarkMode, UrlFormat = DiagnosticIDs.UrlFormat)]
26592658
public event EventHandler? FormBorderColorChanged
26602659
{
26612660
add => Events.AddHandler(s_formBorderColorChanged, value);
@@ -2667,7 +2666,6 @@ public event EventHandler? FormBorderColorChanged
26672666
/// </summary>
26682667
[SRCategory(nameof(SR.CatAppearance))]
26692668
[SRDescription(nameof(SR.FormCaptionBackColorChangedDescr))]
2670-
[Experimental(DiagnosticIDs.ExperimentalDarkMode, UrlFormat = DiagnosticIDs.UrlFormat)]
26712669
public event EventHandler? FormCaptionBackColorChanged
26722670
{
26732671
add => Events.AddHandler(s_formCaptionBackColorChanged, value);
@@ -2679,7 +2677,6 @@ public event EventHandler? FormCaptionBackColorChanged
26792677
/// </summary>
26802678
[SRCategory(nameof(SR.CatAppearance))]
26812679
[SRDescription(nameof(SR.FormCaptionTextColorChangedDescr))]
2682-
[Experimental(DiagnosticIDs.ExperimentalDarkMode, UrlFormat = DiagnosticIDs.UrlFormat)]
26832680
public event EventHandler? FormCaptionTextColorChanged
26842681
{
26852682
add => Events.AddHandler(s_formCaptionTextColorChanged, value);
@@ -2691,7 +2688,6 @@ public event EventHandler? FormCaptionTextColorChanged
26912688
/// </summary>
26922689
[SRCategory(nameof(SR.CatAppearance))]
26932690
[SRDescription(nameof(SR.FormCornerPreferenceChangedDescr))]
2694-
[Experimental(DiagnosticIDs.ExperimentalDarkMode, UrlFormat = DiagnosticIDs.UrlFormat)]
26952691
public event EventHandler? FormCornerPreferenceChanged
26962692
{
26972693
add => Events.AddHandler(s_formCornerPreferenceChanged, value);
@@ -4198,12 +4194,10 @@ protected override void OnHandleCreated(EventArgs e)
41984194
SetFormAttributeColorInternal(DWMWINDOWATTRIBUTE.DWMWA_TEXT_COLOR, formCaptionTextColor.Value);
41994195
}
42004196

4201-
#pragma warning disable WFO5001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
42024197
if (Properties.TryGetValue(s_propFormCornerPreference, out FormCornerPreference? cornerPreference))
42034198
{
42044199
SetFormCornerPreferenceInternal(cornerPreference.Value);
42054200
}
4206-
#pragma warning restore WFO5001
42074201

42084202
UpdateLayered();
42094203

@@ -4959,7 +4953,6 @@ internal override unsafe void RecreateHandleCore()
49594953
Debug.Assert(result);
49604954
}
49614955

4962-
#pragma warning disable WFO5001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
49634956
if (TopLevel && IsHandleCreated)
49644957
{
49654958
FormCornerPreference formCornerPreference = Properties.GetValueOrDefault(s_propFormCornerPreference, FormCornerPreference.Default);
@@ -4974,7 +4967,6 @@ internal override unsafe void RecreateHandleCore()
49744967
colorValue = Properties.GetValueOrDefault(s_propFormBorderColor, Color.Empty);
49754968
SetFormAttributeColorInternal(DWMWINDOWATTRIBUTE.DWMWA_BORDER_COLOR, colorValue);
49764969
}
4977-
#pragma warning restore WFO5001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
49784970

49794971
GC.KeepAlive(this);
49804972
}

0 commit comments

Comments
 (0)