C# 如何解决;类型为';的未处理异常;System.ComponentModel.Win32Exception';在System.Windows.Forms.dll“中发生;?

C# 如何解决;类型为';的未处理异常;System.ComponentModel.Win32Exception';在System.Windows.Forms.dll“中发生;?,c#,object,win32exception,C#,Object,Win32exception,我还是个编程新手。我曾经使用c#bunifu框架在程序中添加滑动菜单。一旦我点击滑动菜单上的一个按钮,在创建对象的帮助下打开另一个窗体,我总是收到这个错误 “System.ComponentModel.Win32Exception”类型的未处理异常 发生在System.Windows.Forms.dll中 这是密码 private void engineReg_btn_Click(object sender, EventArgs e) { DEOEngin

我还是个编程新手。我曾经使用c#bunifu框架在程序中添加滑动菜单。一旦我点击滑动菜单上的一个按钮,在创建对象的帮助下打开另一个窗体,我总是收到这个错误

“System.ComponentModel.Win32Exception”类型的未处理异常 发生在System.Windows.Forms.dll中

这是密码

private void engineReg_btn_Click(object sender, EventArgs e)
        {
            DEOEngineReg DEOER3 = new DEOEngineReg();
            DEOER3.Show(); //Error refers here
        }
谢谢