标签:load string obj parse bsp tostring end nbsp text
private void Form1_Load(object sender, EventArgs e) { string timeStr = DateTime.Now.ToLongTimeString().ToString(); string[] arr = timeStr.Split(‘:‘); string str = (int.Parse(arr[0])).ToString("X") + " " + (int.Parse(arr[1])).ToString("X") + " " + (int.Parse(arr[2])).ToString("X");
label1.Text = str; }
标签:load string obj parse bsp tostring end nbsp text
原文地址:https://www.cnblogs.com/xihong2014/p/11869736.html