背景 代码 先上布局文件:
这里没有TextView,我最后是将路径以System.out.println方式输出的。初始化:button =
(Button)findViewById(R.id.button); pic = (ImageView) findViewByI...
分类:
移动开发 时间:
2014-05-17 01:44:20
阅读次数:
749
1 using System; 2 using System.Diagnostics; 3
using System.Threading; 4 using System.Windows.Forms; 5 using UtilityClass; 6 7
namespace Program 8 { .....
分类:
其他好文 时间:
2014-05-17 01:03:00
阅读次数:
311
如题,出现白屏的问题
在Application_UnhandledException函数内,跟踪异常e的提示信息,可以了解到如下信息:at
System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() ...
分类:
Web程序 时间:
2014-05-17 00:56:47
阅读次数:
582
1 using System; 2 using
System.Collections.Generic; 3 using System.Text; 4 using System.IO; 5 using
System.Diagnostics; 6 7 namespace Utility...
分类:
其他好文 时间:
2014-05-17 00:50:37
阅读次数:
249
using System; using System.Collections.Generic;
using System.Data; using System.Data.Common; using System.Reflection; /// ///
实体阅读器类,可以从DataTa...
分类:
其他好文 时间:
2014-05-17 00:20:57
阅读次数:
341
我们有一个软件系统,必须要依赖远程桌面来安装与运行的。可是怎么检测远程桌面是否已经开放并且在运行呢?有一个注册表项HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\fDenyTSConnections如果是1表示禁...
分类:
其他好文 时间:
2014-05-16 22:56:42
阅读次数:
326
命名空间:System.Diagnostics
以前在word的时候,经常碰到word进程产生一大堆,怕关错了,把用户自己打开的word也关闭,一直搞忽悠,今天上网花了10块钱,下了个文件,给我了一点启发,总于可以实现只关闭程序中打开的,,,我自己测试了,是可以实现的,各位也可以copy去试试,.....
分类:
其他好文 时间:
2014-05-16 22:55:43
阅读次数:
301
1,首先添加两个windows窗体项目,一个作为服务端server,一个作为客户端Client
2,然后添加服务端代码,添加命名空间,界面上添加TextBox控件 using System.Net; using System.Net.Sockets;
3,FormLoad方法添加代码 ...
分类:
Web程序 时间:
2014-05-13 17:11:09
阅读次数:
388
Android
init脚本语言的规范语法描述:system/core/init/readme.txt关键字:token:
计算机语言中的一个单词,就跟英文中的单词差不多一人概念.Section:
语句块,相当于C语言中大括号内的一个块。一个Section以Service或On开头的语句块.以Ser...
分类:
移动开发 时间:
2014-05-13 16:41:19
阅读次数:
378
1、使用FileStream读写文件文件头:using System; using
System.Collections.Generic; using System.Text; using System.IO; 读文件核心代码: byte[]
byData = new byte[100]; char...
分类:
其他好文 时间:
2014-05-13 10:57:52
阅读次数:
262