码迷,mamicode.com
首页 > Windows程序
重装系统必做之——更换Windows系统的默认临时文件的存储目录
作为一名计算机爱好者,重装电脑是家常便饭,但是重装电脑的目的无非就是: 1.操作系统更新换代; 2.系统速度太慢; 或者更多.... 我们大多数目的都是上述中第2点,有时候是否仅仅重装系统而忽略了一些可能必要的优化工作呢? 我有个习惯,就是在重装后做做C盘(系统盘)的工作,尤其是——更换系统默认的临
分类:Windows程序   时间:2016-02-16 06:30:20    阅读次数:312
【前端】window.onload 和 $(document).ready() 的区别
... 在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:29:41    阅读次数:197
[html5] 学习笔记- 编辑API之Range对象(二)
本节继续介绍range对象的方法,包括cloneRange,cloneContents,extraContents,createContextual,createContextual-Fragment,insertNode,compareBoundaryPoints,collapse,detach方
分类:Windows程序   时间:2016-02-15 22:46:02    阅读次数:283
Gym 100712A - Who Is The Winner
原题见: 题目要求:两队比赛解决问题并记罚时;解决问题数多则为胜出,解决问题数相同时,惩罚时间小为胜! 代码如下: 1 #include<stdio.h> 2 #include<string.h> 3 #include<algorithm> 4 #define MAX 105 5 //两队比赛解决问
分类:Windows程序   时间:2016-02-15 22:37:26    阅读次数:297
C#面向对象基础
1、 为什么要有面向对象? (1) 增加代码重用。 (2)降低维护负担,将具备独特性质的代码封装起来,修改程序时,相互不会影响。 2、数据封装用来解决全局变量不易维护的问题。 3、多态:为了加强继承的弹性,常常需要子类对父类的方法进行重写(函数名称不变)。 4、抽象化是为了降低程序版本更新后的维护负
分类:Windows程序   时间:2016-02-15 22:32:19    阅读次数:234
c# 抽象类练习
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:32:16    阅读次数:243
c# 继承
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:24:21    阅读次数:253
windows 远程桌面连接 RPi 2B
本文主要记录windows下如何远程RPi 2B,通过ssh进去安装xrdp、设置USB无线网卡等工作。
分类:Windows程序   时间:2016-02-15 21:24:45    阅读次数:256
c# 多态
实现多态的方法:1.虚方法vartual 2.抽象类、抽象方法 abstract 3.接口 interface。 1、虚方法 //第一步把父类方法加上virtual,可被子类重写 重写后 this.表示重写以后的方法、base.父类中继承下来的方法 public class Person { pub
分类:Windows程序   时间:2016-02-15 21:21:30    阅读次数:285
windows ssh RPi 2B
本文主要记录如何用ssh访问RPi 2B。
分类:Windows程序   时间:2016-02-15 21:21:59    阅读次数:313
windows ping RPi 2B
本文主要记录如何设置RPi 2B静态IP,并且通过windows来ping通RPi 2B。
分类:Windows程序   时间:2016-02-15 21:15:27    阅读次数:450
Windows Live Writer 2014版绿色版制作及主题获取
前年才建好博客的时候就尝试用Windows Live Writer(WLW)写博客,用的是直接在网上找到的一个WLW 2009绿色美化版。但因为当时WLW获取的博客主题是主页的,预览的时候特别不爽,就废弃不用了,不曾想前两天在后台写博客,第一次点击发布失败了,最后文章虽然没有丢,但排版的样子变了,又...
分类:Windows程序   时间:2016-02-15 21:13:19    阅读次数:520
[html5] 学习笔记-编辑 API 之 Range 对象(一)
1、Range对象的基本概念 一个Range对象代表页面上的一段连续区域,通过Range对象,可以获取或修改网页上的任何区域。 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title></title> 6 </hea
分类:Windows程序   时间:2016-02-15 19:55:23    阅读次数:338
为什么要在onNewIntent的时候要显示的去调用setIntent
一、原因: 当调用到onNewIntent(intent)的时候,需要在onNewIntent() 中使用setIntent(intent)赋值给Activity的Intent.否则,后续的getIntent()都是得到老的Intent。 二、onNewIntent() 在IntentActivit
分类:Windows程序   时间:2016-02-15 19:56:08    阅读次数:494
WPF中使用MediaElement显示GIF
<MediaElement x:Name="myGif" MediaEnded="myGif_MediaEnded" UnloadedBehavior="Manual" Source="file://C:\waiting.GIF" LoadedBehavior="Play" Stretch="Non
分类:Windows程序   时间:2016-02-15 19:44:07    阅读次数:319
WPF中DataGrid双击命令获取选中的ViewModel
xaml <DataGrid x:Name="myGrd" ItemsSource="{Binding SearchItems}" SelectedItem="{Binding SelectedItem}" SelectionMode="Single" SelectionUnit="FullRow"
分类:Windows程序   时间:2016-02-15 18:26:55    阅读次数:377
C# 图结构操作
仿造>里面对的算法,使用C#实现了一遍. 理论知识我就不讲解了,在这本书里面已经写的非常完美! 代码如何下: using System; using System.Collections.Generic; using System.Linq; using System.Text; using Sys...
分类:Windows程序   时间:2016-02-15 18:22:33    阅读次数:263
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!