随笔分类 -  WinForm

摘要:Winform获取应用程序的当前路径的方法集合,具体如下,值得收藏//获取当前进程的完整路径,包含文件名(进程名)。stringstr=this.GetType().Assembly.Location; result:X:\xxx\xxx\xxx.exe(.exe文件所在的目录+.exe文件名)//... 阅读全文
posted @ 2014-05-05 08:52 李路平 阅读(376) 评论(0) 推荐(0)
摘要:img.RotateFlip(RotateFlipType.Rotate90FlipNone);顺时针旋转90度 RotateFlipType.Rotate90FlipNone 逆时针旋转90度 RotateFlipType.Rotate270FlipNone 水平翻转 RotateFlipType.Rotate180FlipY 垂直翻转 RotateFlipType.Rotate180FlipX 阅读全文
posted @ 2014-03-25 16:58 李路平 阅读(8693) 评论(1) 推荐(0)