1.创建Cookie <script runat="server"> protected void btnAdd_Click(object sender, EventArgs e) { Response.Cookies["message"].Value = txtCookieValue.Text;/ ...
分类:
其他好文 时间:
2016-05-25 16:57:34
阅读次数:
173
1、实际小窗体界面如下 2、代码如下 private void InputBox(string caption,string orderNo) { Form InputForm = new Form(); InputForm.MinimizeBox = false; InputForm.Maximi ...
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. //使图片两边不拉伸,中间拉伸 UIImage *image = [UIImage imageNamed:@"1 ...
分类:
其他好文 时间:
2016-05-25 15:03:08
阅读次数:
184
@Configuration public class WebMvcConfig extends WebMvcConfigurerAdapter { @Override public void addInterceptors(InterceptorRegistry registry) { regis ...
分类:
编程语言 时间:
2016-05-25 14:49:47
阅读次数:
304
主要内容: 1、描述出现的现像 2、分析其出现的原因 3、提示 一、看如下一段代码及结果 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 List<Action> lists = new List<Action>(); 6 fo ...
Surface Shader 上一小结主要了解了Surface Shader使用了“#pragma surface surf Standard fullforwardshadows”指令的意义,这一小节主要了解“surf”surface函数。 void surf (Input IN, inout S ...
分类:
其他好文 时间:
2016-05-25 12:57:50
阅读次数:
4078
Activity中有一个名称叫onCreate的方法。该方法是在Activity创建时被系统调用,是一个Activity生命周期的开始。 onCreate方法的参数savedInstanceState onCreate方法的完整定义如下: public void onCreate(Bundle sa ...
分类:
移动开发 时间:
2016-05-25 12:51:42
阅读次数:
193
iOS学习笔记之触摸事件&UIResponder 触摸事件 与触摸事件相关的四个方法如下: 一根手指或多根手指触摸屏幕 -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; 一根手指或多根手指在屏幕上移动(随着手指的移动,相 ...
分类:
移动开发 时间:
2016-05-25 12:48:06
阅读次数:
202
一,效果图。 二,代码。 1 RootViewController.m 2 3 4 5 - (void)viewDidLoad 6 7 { 8 9 [super viewDidLoad]; 10 11 // Do any additional setup after loading the view ...
分类:
其他好文 时间:
2016-05-25 11:00:13
阅读次数:
151
一、地图的放大、缩小、移动、测量距离、测量面积 1.0 认识Mymap.ocx 地图引擎 1.1 加载Mymap.ocx 地图控件到c#的窗体上 1.2 增加放大、缩小、移动地图的代码 private void tsbMax_Click(object sender, EventArgs e) { M ...