原文 [WPF疑难]如何禁用窗口上的关闭按钮 [WPF疑难]如何禁用窗口上的关闭按钮 周银辉 哈哈,主要是调用RemoveMenu这个API,所以没什么好说的,直接“干货”吧: namespace VersatileMessageBoxLib { using System; using System.Windows.Interop; using System.Runtime.Interop
A frame is a component container that displays its contents in a top-level window with a title bar and buttons to resize, iconify, maximize, and close the frame. Unlike most Swing containers, adding a component to a frame is not done with the JFrame.