随笔分类 - GUI
摘要:利用 WPF 的 Trigger 系统,也可以很简单的只使用xmal实现三态按钮。在Window或UserControl的资源中声明按钮的style并加入触发功能。使用的时候直接在button里复写style就可以了,废话不多说,直接上代码: 使用时在button中引用:
阅读全文
摘要:Initializing View Instances Created in Interface BuilderView instances that are created in Interface Builder don't callinitWithFrame:when their nib fi...
阅读全文
浙公网安备 33010602011771号