screen.availWidth 属性返回访问者屏幕的宽度,以像素计,减去界面特性,比如窗口任务栏。
screen.availHeight 属性返回访问者屏幕的高度,以像素计,减去界面特性,比如窗口任务栏。
-------------------------------------------完整的例子-------------------------------------------
...
分类:
Web程序 时间:
2014-06-05 07:47:36
阅读次数:
364
获取当前工作区宽度和高度(工作区不包含状态栏) int ScreenWidth =
Screen.PrimaryScreen.WorkingArea.Width; int ScreenHeight =
Screen.PrimaryScreen.WorkingArea.Height;
ProblemYou want your UI components to have
gravity, so that if they are dragged up to the top of the screen, they will
descend on their own. Combining...
分类:
其他好文 时间:
2014-06-02 20:01:49
阅读次数:
243
【Mesh Filter】 TheMesh Filtertakes a mesh from your
assets and passes it to theMesh Rendererfor rendering on the screen. Mesh
Filter决定使用哪一个Mesh。Mesh .....
分类:
其他好文 时间:
2014-06-02 13:19:13
阅读次数:
326
我们的目标: 需求Screen 1: 联系人列表 - 查看所有联系人1.1 这个 screen
将显示数据库中的所有联系人.1.2 用户可以删除任何联系人.1.3 用户可以编辑任何联系人的详细信息.1.4 用户可以创建新的联系人.初始草图:Screen
2: 创建新联系人这个页面提供一个空白的页面,...
分类:
Web程序 时间:
2014-06-02 00:47:32
阅读次数:
317
点击“Administration”-->Users,找到下面的guest用户,点击status的”Enabled"可以看到guest用户被禁用了
分类:
其他好文 时间:
2014-06-01 16:26:47
阅读次数:
183
1 创建zabbix 用户
groupadd zabbix;
useradd -g zabbix zabbix;
passwd zabbix;
两次输入密码
2 下载获得zabbix的包,然后解压
tar zxvf zabbix-2.2.3.tar.gz;
3 安装
cd /home/zabbix/zabbix-2.2.3;
./con...
分类:
其他好文 时间:
2014-06-01 09:19:19
阅读次数:
185
YES,it's so easy,what we need to do is just include ,then the information of
memory leaking will be shown on the screen....
分类:
其他好文 时间:
2014-05-31 21:14:52
阅读次数:
334
/** * 获得当前屏幕亮度的模式 *
SCREEN_BRIGHTNESS_MODE_AUTOMATIC=1 为自动调节屏幕亮度 * SCREEN_BRIGHTNESS_MODE_MANUAL=0
为手动调节屏幕亮度 */ private int getScreenMode()...
分类:
移动开发 时间:
2014-05-31 16:57:37
阅读次数:
275
For screening materials for different sizes,
vibrating screen is playing its role. After separating, the aggragates that can
meet your requirements wi...
分类:
其他好文 时间:
2014-05-31 15:20:11
阅读次数:
205