08 2012 档案
摘要:public enum color{ red = 0, blue = 1}color c1;转换成字符串:Enum.GetName(typeof(color), c1) 转换成枚举:(color)Enum.Parse(typeof(color), "red", true) private SqlDbType getType(string s) { return (SqlDbType)Enum.Parse(typeof(SqlDbType), s, true); }转帖地址:http://hi.baidu.com/redlineren/item/bada29fa3446f2c
阅读全文
摘要:在Tools->Options->Projects and Solutions->General 下只要把”Track Active Item In Solution Explorer”选上就行。参考:http://blchen.com/highlight-the-current-edited-file-in-vs-solution-explorer/
阅读全文
浙公网安备 33010602011771号