文章概述:
本演示介绍如何在WPF的MVVM框架中,通过数据绑定的方式获取下拉列表中的选中项。程序运行后的效果如下图所示:
相关下载(代码、屏幕录像):http://pan.baidu.com/s/1sjwN357
在线播放:http://v.youku.com/v_show/id_XODA5OTYzMDU2.html
温馨提示:如果屏幕录像和代码不能正常下载,可站内留言,或发邮件...
一。先实现添加头像的功能点击头像后,可以有两种选择: 相册、相机。要用到new AlertDialog.Builder(activity).setItems(choice, new DialogInterface.OnClickListener(){}).show();里面choice为两个...
分类:
其他好文 时间:
2014-10-24 00:15:26
阅读次数:
795
在/etc/lightdm/lightdm.conf里添加一下两句:greeter-show-manual-login=trueallow-guest=false
分类:
系统相关 时间:
2014-10-23 19:14:15
阅读次数:
204
(待更新整理)因为最近遇到一些超时的问题,正好就把所有的timeout参数都理一遍,首先数据库里查一下看有哪些超时:root@localhost : test 12:55:50> show global variables like "%timeout%";+--------------------...
分类:
数据库 时间:
2014-10-23 19:08:53
阅读次数:
288
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
Show Tags
Have you been asked this question in an interview?
...
分类:
其他好文 时间:
2014-10-23 17:47:23
阅读次数:
229
链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1212
题意:有n架飞机需要着陆,每架飞机都可以选择“早着陆”或“晚着陆”两种方式,第i架飞机早着陆时间为Ei,晚着陆时间为Li,不得在其他时间着陆。你的任务是为这些飞机安排着陆方式,...
分类:
其他好文 时间:
2014-10-23 17:41:04
阅读次数:
234
Java之J2se-Java语言基础(程序结构) 教学视频发布了,请小伙伴们前往观看
视频地址如下:
http://v.youku.com/v_show/id_XODA5NTM3NTAw.html...
分类:
编程语言 时间:
2014-10-23 17:39:00
阅读次数:
168
html <div>
????<span?id="show_info">正在发送升级命令,请勿刷新页面!</span>
????<span?id="timedown"></span>
</div> javascript function?checkTimeDown(time)
{
????var?timeId;
????...
分类:
其他好文 时间:
2014-10-23 16:30:33
阅读次数:
138
链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=25&problem=2299&mosmsg=Submission+received+with+ID+14404690
题意:一个有向图,找一个最大的点集使得任意两点u、v间都存在一条路(单向或双向)...
分类:
其他好文 时间:
2014-10-23 16:25:21
阅读次数:
205
1、访问本地的其他数据库--启用Ad Hoc Distributed Queries--exec sp_configure 'show advanced options',1reconfigureexec sp_configure 'Ad Hoc Distributed Queries',1reco...
分类:
数据库 时间:
2014-10-23 15:55:18
阅读次数:
178