可移动的按钮
摘要:int temp_X;int count = 0; private void Form1_Load(object sender, EventArgs e) { this.pic_OpenLock.Left = 0; this.pan_Lock.Width = this.Width; th...
阅读全文
posted @
2013-07-02 21:31
一花一四季,一梦一世界
阅读(227)
推荐(0) 编辑
.NET及JAVA 中如何使用代码启动程序
摘要:.NET 中:System.Diagnostics.Process.Start("应用程序"); JAVA中:ProcessBuilder pb=new ProcessBuilder("应用程序");pb.start();
阅读全文
posted @
2013-06-29 20:34
一花一四季,一梦一世界
阅读(245)
推荐(0) 编辑
.NET 中如何判断文件与目录
摘要:FileInfo fileInfo = new FileInfo(pth);if ((fileInfo.Attributes & FileAttributes.Directory) != 0){ MessageBox.Show("文件夹");}
阅读全文
posted @
2013-06-27 19:38
一花一四季,一梦一世界
阅读(244)
推荐(0) 编辑