2012-01-19
WP7 Clipboard(剪切板)源码
WP7Clipboard(剪切板)源码程序介绍:WP7Clipboard是一个在WindowsPhone7模仿共享剪切板的类库。可以从一个应用程序复制一个对象到另外一个应用程序,不使用webservice等。WP7ClipboardisalibrarytomimicasharedclipboardonWindowsPhone7.Thisenablestheusertocopyobjectsfromoneapplicationandpostthemintoanotherwithouthavingtouseawebservice/etc.如何使用:Clipboard.SetText("sometextIwantaccessibleinanotherapp!");if(Clipboard.ContainsText()){stringmyVar=Clipboard.GetText();}提示:请使用ProxyClipboard类来最小化磁盘的使用。查看示例程序。