Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望我的 Windows 窗体中的按钮具有“按下”和“释放”行为。如何做到这一点?更清楚地说,单击按钮应导致“按住”状态,下一次单击应“释放”它。
非常感谢。
使用复选框:
checkBox1.Appearance = Button;
图形质量可能会有所不同。