Winform如何保存自定义属性
摘要:
1.在设计界面中选择控件,然后在属性窗口选择数据->ApplicationSettings,然后选择font,新建一个fontsize2.添加控制类 public class fontcontrol { //AppConfig ac = new AppConfig(); public float Size { get { return PE_TEST.Properties.Settings.Default.fontsize.Size; } set { Font f = PE_TEST.Properties.Settings.Default.fontsize; Font nf = new 阅读全文
posted @ 2013-04-18 17:02 qiu2013 阅读(1051) 评论(1) 推荐(1)
浙公网安备 33010602011771号