SCREEN 1COLOR 10, 1PSET (190, 120)PSET (192, 122)COLOR 10, 4PSET (160, 120)LINE -(190, 290)CIRCLE (50, 50), 20PAINT (55, 55)...
分类:
其他好文 时间:
2016-01-07 10:23:46
阅读次数:
228
不让Form移动到屏幕外,先给窗体添加Move事件,然后判断并重新设置位置。代码:private void FormMain_Move(object sender, EventArgs e) { Rectangle r = Screen.GetWorkingAre...
分类:
移动开发 时间:
2016-01-07 10:18:53
阅读次数:
183
/* 兼容问题*/@media screen and (device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2){ .dialog-agreement-con{ height: 4...
分类:
移动开发 时间:
2016-01-06 10:19:58
阅读次数:
352
import sys
import pygame
from pygame.locals import *
import time
import math
pygame.init()
screen=pygame.display.set_mode((500,550))
myfont=pygame.font.Font(None,30)
red=(255,0,0)
green=(0,255,0)
bl...
分类:
编程语言 时间:
2016-01-04 18:16:09
阅读次数:
216
http://my.oschina.net/u/202293/blog/199954方法一: 可以用360手机助手等实现。方法二:想把手机屏幕显示在电脑屏幕上时就需要使用Android Screen Monitor,一个叫asm.jar的文件。①下载 http://code.google.com/p...
分类:
移动开发 时间:
2016-01-04 10:10:40
阅读次数:
200
//// ViewController.m// 计算器//屏幕的宽和高#define SCREEN_W self.view.frame.size.width#define SCREEN_H self.view.frame.size.height#import "ViewController.h"@i...
分类:
移动开发 时间:
2016-01-03 15:06:25
阅读次数:
193
通过widget定义,我们在widget列表中看到了我们的TestWidget。当我们拖拽widget到主页时,假设在appwidet-provider中定义了android:configure的java类,在widget实例创建后会立即唤起配置activity。这个activity主要完毕两个任务...
分类:
移动开发 时间:
2016-01-02 10:28:13
阅读次数:
335
小话题:如果在我们编译软件的时候,终端实然断了怎么办,按理论来说,在此终端下的程序都会结束。编译了老半天,白忙活了。那么可以用screen程序。screen模拟多个虚拟窗口,并且screen模拟的终端断了以后,screen的终端不会退出,程序继续。screen打开新的screen虚拟界面也可..
分类:
其他好文 时间:
2016-01-01 23:12:07
阅读次数:
420
import sys import pygamefrom pygame.locals import *import timepygame.init()screen=pygame.display.set_mode((500,550))myfont=pygame.font.Font(None,30)red=(255,0,0)green=(0,255,0)textImage=myfont.render...
分类:
编程语言 时间:
2016-01-01 19:04:25
阅读次数:
235
Screen s = new Screen();1.在文本框中填入文本以下两个方法都可以type是用来在文本框中输入指定的文本paste是用来在文本框中复制指定的文本s.type(imgpath+"loginName.png","18698580755"); s.paste(imgpath+"log...
分类:
其他好文 时间:
2015-12-31 19:17:45
阅读次数:
140