摘要:
string s = "这里放十六进制字符串"; byte[]buff=new byte[s.Length/2]; int index=0; for (int i = 0; i < s.Length; i += 2) { buff[index] = Convert.ToByte(s.Substrin 阅读全文
posted @ 2016-07-06 11:36
慢慢摸索
阅读(9486)
评论(0)
推荐(0)
摘要:
Bitmap pic = new Bitmap(图片文件名);int width = pic.Size.Width; // 图片的宽度int height = pic.Size.Height; // 图片的高度 阅读全文
posted @ 2016-07-06 11:33
慢慢摸索
阅读(6396)
评论(0)
推荐(1)
摘要:
替换图片 private void btnSkin_Click(object sender, RoutedEventArgs e) { string fName; OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = "图像文件(*.png; 阅读全文
posted @ 2016-07-06 11:04
慢慢摸索
阅读(370)
评论(0)
推荐(0)
摘要:
private void button1_Click(object sender, EventArgs e) { string fName; OpenFileDialog openFileDialog = new OpenFileDialog();//实例化 openFileDialog.Initi 阅读全文
posted @ 2016-07-06 11:03
慢慢摸索
阅读(566)
评论(0)
推荐(0)

浙公网安备 33010602011771号