07 2016 档案
摘要:http://blog.csdn.net/n5/article/details/45030063
阅读全文
摘要: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
阅读全文
摘要:导出sql文件:mysqldump -h localhost -u root -p xsxj > d:\xsxj.sql 导入sql文件 MySQL> source d:/myprogram/database/db.sql; 删除数据库名 drop database <数据库名>; 增加字段: AL
阅读全文
摘要:Bitmap pic = new Bitmap(图片文件名);int width = pic.Size.Width; // 图片的宽度int height = pic.Size.Height; // 图片的高度
阅读全文
摘要:替换图片 private void btnSkin_Click(object sender, RoutedEventArgs e) { string fName; OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = "图像文件(*.png;
阅读全文
摘要:private void button1_Click(object sender, EventArgs e) { string fName; OpenFileDialog openFileDialog = new OpenFileDialog();//实例化 openFileDialog.Initi
阅读全文