C#是纯粹的面向对象编程语言,它真正体现了“一切皆为对象”的精神。在C#中,即使是最基本的数据类型,如int,double,bool类型,都属于System.Object(Object为所有类型的基类)类型。此外,使用C#编程,不会存在与游离于对象之外的属于过程的东西。因此,学习C#,就必须具有面向...
分类:
Windows开发 时间:
2015-12-24 19:18:22
收藏:
0 评论:
0 赞:
0 阅读:
269
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Mvc;usingSystem.Web.Http.Filters;usingSystem.Net.Http;usi...
分类:
Windows开发 时间:
2015-12-24 19:12:32
收藏:
0 评论:
0 赞:
0 阅读:
567
可以切换模态框(Modal)插件的隐藏内容:通过 data 属性:在控制器元素(比如按钮或者链接)上设置属性data-toggle="modal",同时设置data-target="#identifier"或href="#identifier"来指定要切换的特定的模态框(带有 id="identif...
分类:
Windows开发 时间:
2015-12-24 19:11:32
收藏:
0 评论:
0 赞:
0 阅读:
237
模拟键盘输入就是使用以下2个语法实现的.SendKeys.Send(string keys); //模拟汉字(文本)输入SendKeys.SendWait(string keys);//模拟按键输入先了解一下2个语法的用法吧! 稍后贴出代码看看大家能不能看懂哦/...(1)每个按键由一个或多个字符表...
分类:
Windows开发 时间:
2015-12-24 19:07:32
收藏:
0 评论:
0 赞:
0 阅读:
257
上篇博客【用Asp.net写自己的服务框架】 我讲述了如何实现自己的服务框架,但我想很多人应该用过WebService这类服务框架,相比起来,似乎还缺少什么东西, 是的,我也感觉到了。比如:我可以很容易地利用WebService, WCF框架编写一个服务, 在客户端也可以很容易地通过【添加服务引用】...
分类:
Windows开发 时间:
2015-12-24 16:28:02
收藏:
0 评论:
0 赞:
0 阅读:
533
默认情况下,IIS7的上传限制为200K。当上传文件小于30M时,可以通过如下方法设置:在iis7中找到asp设置,在“asp”的“限制属性”中最后一行“最大请求主体限制”,修改该值为你所想要的,如2G(2000000000,单位为B)。当上传文件要求大于30M时,继续如下修改:1、停止IIS72、...
分类:
Windows开发 时间:
2015-12-24 16:16:42
收藏:
0 评论:
0 赞:
0 阅读:
178
一、具体代码类代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;namespace WpfApplication1{ class l...
分类:
Windows开发 时间:
2015-12-24 16:14:22
收藏:
0 评论:
0 赞:
0 阅读:
256
//这是在浏览器环境下,chrome下var n =2 ;var obj={n:4,fn1:(function(){console.log("fn1->this ="+this); //这里立即执行时,this是windowconsole.log("fn1->this.n = "+this.n); ...
分类:
Windows开发 时间:
2015-12-24 14:50:51
收藏:
0 评论:
0 赞:
0 阅读:
252
本文包括两部分,首先就是在 Windows 使用 wget 来下载文件,这样固然很好,然而问题并非这么简单,在 PowerShell 4.0 版本中增加了 Invoke-WebRequest 的别名 wget,因此在像上面使用 wget 的时候,会首先调用 Invoke-WebRequest,也就....
分类:
Windows开发 时间:
2015-12-24 14:48:02
收藏:
0 评论:
0 赞:
0 阅读:
214
先自己声明方法,,再用事件调用; public void borderS3D(object sender,EventArgs e) { ((PictureBox)sender).BorderStyle=BorderStyle.Fixed3D; ...
分类:
Windows开发 时间:
2015-12-24 14:44:31
收藏:
0 评论:
0 赞:
0 阅读:
256
1 class student 2 { 3 public int _code; 4 public int Code//属性 5 { 6 //获取值 7 get 8 { 9...
分类:
Windows开发 时间:
2015-12-24 13:21:31
收藏:
0 评论:
0 赞:
0 阅读:
207
Performance issuesLet's dig a little deeper. When data is passed into methods as value type parameters, a copy of each parameter is created on the sta...
分类:
Windows开发 时间:
2015-12-24 13:21:01
收藏:
0 评论:
0 赞:
0 阅读:
190
using System.IO;namespace Hydor1{ class CreatFile { public void creatf(string str, string name) { //获取当前日期 s...
分类:
Windows开发 时间:
2015-12-24 13:18:41
收藏:
0 评论:
0 赞:
0 阅读:
319
Path Follow System using Waypoints C#
分类:
Windows开发 时间:
2015-12-24 13:18:01
收藏:
0 评论:
0 赞:
0 阅读:
192
WPF 取出richTextBox里面的内容,赋值给richTextBox,清空RichTextBox的方法,如何将一个String类型的字符串赋值给richTextBox,如何将richTextBox中的内容以rtf的格式完全取出,RichTextBox的操作:
分类:
Windows开发 时间:
2015-12-24 13:16:11
收藏:
0 评论:
0 赞:
0 阅读:
233
简单示例dynamic expando = new System.Dynamic.ExpandoObject(); //动态类型字段 可读可写expando.Id = 1;expando.Name = "Test";string json = Utils.ConvertJson.JsonEncode...
分类:
Windows开发 时间:
2015-12-24 11:58:21
收藏:
0 评论:
0 赞:
0 阅读:
763
http://blog.163.com/ljq086@126/blog/static/549639712010112921658843/我们可以通过使用DataTime这个类来获取当前的时间。通过调用类中的各种方法我们可以获取不同的时间:如:日期(2008-09-04)、时间(12:12:12)、日...
分类:
Windows开发 时间:
2015-12-24 11:57:31
收藏:
0 评论:
0 赞:
0 阅读:
177
相比以前版本Windows开机按F8的启动模式,Windows10的高级启动模式的功能更加强大,界面更加友好,原F8的不再支持。一、进入的方法1、依次点击“开始”,“电源“”,按住shift键之后点击“重启”重新启动计算机,进入该启动菜单。2、以管理员账户进入命令提示符状态,输入命令..
分类:
Windows开发 时间:
2015-12-24 10:46:13
收藏:
0 评论:
0 赞:
0 阅读:
474
Windows10预装了很多内置应用,其中有部分应用或许我们不喜欢,那么这些预装的如何彻底清除呢?其实这些内置应用,部分是可以删除。要注意的是,执行以下操作后会将应用商店也一并删除,目前也没有找回的方法,系统推送的某些更新会重新在系统中安装应用商店。另外,并不是所有..
分类:
Windows开发 时间:
2015-12-24 10:44:22
收藏:
0 评论:
0 赞:
0 阅读:
360
主要讲解如何防止黑客上传并运行网页木马;至于PHPWind的安装方法不在本节讲述范围;本节主要针对PHP5.3及其以后版本。
分类:
Windows开发 时间:
2015-12-24 10:40:24
收藏:
0 评论:
0 赞:
0 阅读:
405