Added SuppressUnmanagedCodeSecurity to Color Dialog for some unmanaged calls

This commit is contained in:
Travis Nickles 2018-10-19 00:33:14 -05:00
parent 7a1f98e169
commit 0575a95ec1

View File

@ -2,10 +2,12 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Security;
using System.Windows.Forms; using System.Windows.Forms;
namespace DS4Windows namespace DS4Windows
{ {
[SuppressUnmanagedCodeSecurity]
[System.ComponentModel.DesignerCategory("")] [System.ComponentModel.DesignerCategory("")]
public class AdvancedColorDialog : ColorDialog public class AdvancedColorDialog : ColorDialog
{ {