辉_妞

 

2012年3月7日

C#Winform中窗体显示

摘要: Winform中有时候窗口显示一下就立即最小化到状态栏了,总是让其显示在最前端,设置Form的TopMost值为true;即this.TopMost=true; 阅读全文

posted @ 2012-03-07 11:49 辉_妞 阅读(170) 评论(0) 推荐(0)

C#中保留两位小数

摘要: public static string GetString(double offset) { decimal val = decimal.Parse(offset); return val.ToString("0.00"); } 阅读全文

posted @ 2012-03-07 11:36 辉_妞 阅读(163) 评论(0) 推荐(0)

导航