From 2029cd2fff207d8682347fd5b7fa1c45567da4b4 Mon Sep 17 00:00:00 2001 From: michael-hawker <24302614+michael-hawker@users.noreply.github.com> Date: Fri, 5 Jun 2020 00:51:59 -0700 Subject: [PATCH] Suppress warning on Obsolete --- Microsoft.Toolkit.Sample.Forms.App/Form1.Designer.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Microsoft.Toolkit.Sample.Forms.App/Form1.Designer.cs b/Microsoft.Toolkit.Sample.Forms.App/Form1.Designer.cs index 0e580aaa..8770b6da 100644 --- a/Microsoft.Toolkit.Sample.Forms.App/Form1.Designer.cs +++ b/Microsoft.Toolkit.Sample.Forms.App/Form1.Designer.cs @@ -38,7 +38,9 @@ private void InitializeComponent() this.inkToolbarCustomToolButton1 = new Microsoft.Toolkit.Forms.UI.Controls.InkToolbarCustomToolButton(); this.inkCanvas1 = new Microsoft.Toolkit.Forms.UI.Controls.InkCanvas(); this.webTab = new System.Windows.Forms.TabPage(); + #pragma warning disable CS0618 // Type or member is obsolete this.webViewCompatible1 = new Microsoft.Toolkit.Forms.UI.Controls.WebViewCompatible(); + #pragma warning restore CS0618 // Type or member is obsolete this.mediaTab = new System.Windows.Forms.TabPage(); this.mediaPlayerElement1 = new Microsoft.Toolkit.Forms.UI.Controls.MediaPlayerElement(); this.sampleTab = new System.Windows.Forms.TabPage(); @@ -237,7 +239,9 @@ private void InitializeComponent() private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabPage webTab; private System.Windows.Forms.TabPage inkingTab; + #pragma warning disable CS0618 // Type or member is obsolete private Forms.UI.Controls.WebViewCompatible webViewCompatible1; + #pragma warning restore CS0618 // Type or member is obsolete private Forms.UI.Controls.InkCanvas inkCanvas1; private System.Windows.Forms.TabPage mediaTab; private Forms.UI.Controls.MediaPlayerElement mediaPlayerElement1;