... 在Stack Overflow上看到了这个问题,自己翻译了过来。 The onload event is a standard event in the DOM, while the ready event is specific to jQuery. window.onload 是DOM中
分类:
Windows开发 时间:
2016-02-16 06:26:58
收藏:
0 评论:
0 赞:
0 阅读:
252
原题见: 题目要求:两队比赛解决问题并记罚时;解决问题数多则为胜出,解决问题数相同时,惩罚时间小为胜! 代码如下: 1 #include<stdio.h> 2 #include<string.h> 3 #include<algorithm> 4 #define MAX 105 5 //两队比赛解决问
分类:
Windows开发 时间:
2016-02-15 22:34:58
收藏:
0 评论:
0 赞:
0 阅读:
245
新买的电脑预装系统是WIN10,考虑到兼容性问题,打算更换为WIN7,但在新机上不能直接装WIN7系统,需要在BIOS启动中做一点小改动。 原因分析:由于Windows 8采用的是UEFI引导和GPT格式的分区,所以在开始改装系统操作前我们需要明确以下两点信息:1、需要将Windows 8系统的引导
分类:
Windows开发 时间:
2016-02-15 22:34:37
收藏:
0 评论:
0 赞:
0 阅读:
324
1、 为什么要有面向对象? (1) 增加代码重用。 (2)降低维护负担,将具备独特性质的代码封装起来,修改程序时,相互不会影响。 2、数据封装用来解决全局变量不易维护的问题。 3、多态:为了加强继承的弹性,常常需要子类对父类的方法进行重写(函数名称不变)。 4、抽象化是为了降低程序版本更新后的维护负
分类:
Windows开发 时间:
2016-02-15 22:30:44
收藏:
0 评论:
0 赞:
0 阅读:
284
1、 abstract class Animal { public abstract void eat(); public abstract void bark(); } class Dog : Animal { public override void eat() { Console.WriteL
分类:
Windows开发 时间:
2016-02-15 22:30:14
收藏:
0 评论:
0 赞:
0 阅读:
357
class person //默认不写继承基类object,只能继承一个类。类的单根性。 { public string Name { get; set; } public int Age { get; set; } public int Hight { get; set; } public voi
分类:
Windows开发 时间:
2016-02-15 21:22:34
收藏:
0 评论:
0 赞:
0 阅读:
349
本文主要记录windows下如何远程RPi 2B,通过ssh进去安装xrdp、设置USB无线网卡等工作。
分类:
Windows开发 时间:
2016-02-15 21:22:04
收藏:
0 评论:
0 赞:
0 阅读:
407
实现多态的方法:1.虚方法vartual 2.抽象类、抽象方法 abstract 3.接口 interface。 1、虚方法 //第一步把父类方法加上virtual,可被子类重写 重写后 this.表示重写以后的方法、base.父类中继承下来的方法 public class Person { pub
分类:
Windows开发 时间:
2016-02-15 21:19:42
收藏:
0 评论:
0 赞:
0 阅读:
335
本文主要记录如何用ssh访问RPi 2B。
分类:
Windows开发 时间:
2016-02-15 21:19:12
收藏:
0 评论:
0 赞:
0 阅读:
216
本文主要记录如何设置RPi 2B静态IP,并且通过windows来ping通RPi 2B。
分类:
Windows开发 时间:
2016-02-15 21:14:58
收藏:
0 评论:
0 赞:
0 阅读:
310
前年才建好博客的时候就尝试用Windows Live Writer(WLW)写博客,用的是直接在网上找到的一个WLW 2009绿色美化版。但因为当时WLW获取的博客主题是主页的,预览的时候特别不爽,就废弃不用了,不曾想前两天在后台写博客,第一次点击发布失败了,最后文章虽然没有丢,但排版的样子变了,又...
分类:
Windows开发 时间:
2016-02-15 21:11:26
收藏:
0 评论:
0 赞:
0 阅读:
304
参考网址:http://jingyan.baidu.com/article/cbf0e500ebec582eaa2893d2.html 文中涉及到的程序源码以及配置 详见附件:http://files.cnblogs.com/files/duanweishi/WordPress_urlrewrite
分类:
Windows开发 时间:
2016-02-15 19:58:32
收藏:
0 评论:
0 赞:
0 阅读:
707
一、原因: 当调用到onNewIntent(intent)的时候,需要在onNewIntent() 中使用setIntent(intent)赋值给Activity的Intent.否则,后续的getIntent()都是得到老的Intent。 二、onNewIntent() 在IntentActivit
分类:
Windows开发 时间:
2016-02-15 19:54:19
收藏:
0 评论:
0 赞:
0 阅读:
1151
<MediaElement x:Name="myGif" MediaEnded="myGif_MediaEnded" UnloadedBehavior="Manual" Source="file://C:\waiting.GIF" LoadedBehavior="Play" Stretch="Non
分类:
Windows开发 时间:
2016-02-15 19:43:20
收藏:
0 评论:
0 赞:
0 阅读:
641
xaml <DataGrid x:Name="myGrd" ItemsSource="{Binding SearchItems}" SelectedItem="{Binding SelectedItem}" SelectionMode="Single" SelectionUnit="FullRow"
分类:
Windows开发 时间:
2016-02-15 18:24:01
收藏:
0 评论:
0 赞:
0 阅读:
974
仿造>里面对的算法,使用C#实现了一遍. 理论知识我就不讲解了,在这本书里面已经写的非常完美! 代码如何下: using System; using System.Collections.Generic; using System.Linq; using System.Text; using Sys...
分类:
Windows开发 时间:
2016-02-15 18:20:09
收藏:
0 评论:
0 赞:
0 阅读:
372
原文地址:http://blog.sina.com.cn/s/blog_604fb7ae0100x2s7.html 中小企业办公自动化系统都需要有与微软办公软件连接的功能,如把数据导入到电子表格、Word等功能。C#.NET在Office方面提供了强大的功能,只要导入 Microsoft.Offic
分类:
Windows开发 时间:
2016-02-15 18:14:05
收藏:
0 评论:
0 赞:
0 阅读:
277
1.创建windows服务项目 2.右键点击Service1.cs,查看代码, 用于编写操作逻辑代码 3.代码中OnStart用于执行服务事件 public partial class Service1 : ServiceBase { string logFilePath = ""; LogHelp
分类:
Windows开发 时间:
2016-02-15 18:13:45
收藏:
0 评论:
0 赞:
0 阅读:
304
[ContentProperty("Target")] public class GridLineDecorator : FrameworkElement { private ListView _target; private DrawingVisual _gridLinesVisual = new
分类:
Windows开发 时间:
2016-02-15 18:12:13
收藏:
0 评论:
0 赞:
0 阅读:
4828
一、C# 日期格式 DateTime dt = DateTime.Now; dt.ToString();//2005-11-5 13:21:25 dt.ToFileTime().ToString();//127756416859912816 dt.ToFileTimeUtc().ToString()
分类:
Windows开发 时间:
2016-02-15 18:08:20
收藏:
0 评论:
0 赞:
0 阅读:
367