[DllImport("user32.dll", EntryPoint = "MessageBoxA")]
    
static extern int MsgBox(int hWnd, string msg, string caption, int type);
    
private void Demo()
    {
        MsgBox(
0"这就是用DllImport调用DLL弹出的提示框哦!""提示"0x30);
    }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2022-01-02
  • 2021-06-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
  • 2021-12-15
  • 2021-06-18
相关资源
相似解决方案