摘要:
public Result AS Stringpublic Index AS Integer=0Function GetStyle(masterRef as String) As String Index=Index+1 IF masterRef<>Result Then IF Index>=23 Then Result = masterRef Index=0 END IF Return "Y" Else IF Index>=23 Then Index=0 END IF Result = masterRef Return "N" 阅读全文
posted @ 2013-01-06 15:20
Tim_wu
阅读(237)
评论(0)
推荐(0)
摘要:
string path="路径"System.Diagnostics.Process.Start(path); 阅读全文
posted @ 2013-01-06 15:16
Tim_wu
阅读(97)
评论(0)
推荐(0)
摘要:
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) {CultureInfo info = null;if (comboBox1.SelectedIndex == 0)SetLang("zh-cn", this, this.GetType());elseSetLang("en-us", this, this.GetType());}private void SetLang(string lang, Form form, Type formType){System. 阅读全文
posted @ 2013-01-06 15:14
Tim_wu
阅读(228)
评论(0)
推荐(0)
摘要:
static string ConvertToChinese(double x){string s = x.ToString('#L#E#D#C#K#E#D#C#J#E#D#C#I#E#D#C#H#E#D#C#G#E#D#C#F#E#D#C#.0B0A');string d = Regex.Replace(s, @'((?<=-|^)[^1-9]*)|((?'z'0)[0A-E]*((?=[1-9])|(?'-z'(?=[F-L\.]|$))))|((?'b'[F-L])(?'z'0)[0A-L]*( 阅读全文
posted @ 2013-01-06 15:11
Tim_wu
阅读(174)
评论(0)
推荐(0)
浙公网安备 33010602011771号