摘要:
2014年 时间 事件 某月某日 开通CSDN博客,旧博客至今(2015.4.6)访问仅9346次2015年 时间 事件 2月3日 新开通CSDN博客,并进行博客搬家 2月10日 博客专栏的申请审核通过 3月23日 积分1500分,排名12565 3月25日...
阅读全文
posted @ 2015-04-06 20:04
nomasp
阅读(135)
推荐(0)
摘要:
0.谷歌在中国1.谷歌有一些列域名:gogle.com、googlr.com、gooogle.com,甚至还有一个466453.com的域名。2.自2010年以来,谷歌平均每周至少收购一家公司。最费钱的前十个收购的总花费达到245亿美元。3.自从Google从2007年推出街景地图,...
阅读全文
posted @ 2015-04-05 23:58
nomasp
阅读(205)
推荐(0)
摘要:
微软:Surface RT失败了 我们也能华丽转身最近微软悄无声息的发布了Surface 3,我想先谈谈最初对于这款产品的认识。在PC阵营里,大家都还算老实,戴尔还专门为Windows 8做过许多的宣传。但反观惠普,却自己去卖什么Windows 7的PC,这完全是对自己的伙伴完全不顾...
阅读全文
posted @ 2015-04-05 23:10
nomasp
阅读(180)
推荐(0)
摘要:
在前面我们走马观花地介绍了一大堆控件,其中自然也包括这DatePicker和TimePicker,那么稍微高级些的用法呢?如果你想做一个关于健身、闹钟等的App,那么不可避免的会用到时间这些控件了。 ...
阅读全文
posted @ 2015-04-05 22:09
nomasp
阅读(112)
推荐(0)
摘要:
在前面学习控件的时候,我们已经见过了MessageDialog了,关于Button还有一个浮出控件Flyout哦。具体是怎样用呢?接下来就一起看看咯。我们还是延续前面的那个示例好了,那么,代码来了。 ...
阅读全文
posted @ 2015-04-05 21:18
nomasp
阅读(132)
推荐(0)
摘要:
基本的用法我们在 【万里征程——Windows App开发】页面布局和基本导航中已经讲过了,这里继续补充关于应用栏的更多用法。Icon在之前的学习中,我们知道Icon属性中有很多很多系统预定义,但也许这些还是不够的,现在就来增加几种用法咯。字符集应用 那...
阅读全文
posted @ 2015-04-04 12:20
nomasp
阅读(170)
推荐(0)
摘要:
画笔想必大家都不陌生,这里系统的介绍一下好了。先来介绍纯色画笔。最简单的纯色画笔就是已经定义好名字的啦,比如Red和Green这种,据说一共有256种已命名的,所以基本已经够用啦。XAML解析器会自动将这些颜色名称链接到Color结构。还有就是传说中的十六进制颜色值,它可以定义精确的...
阅读全文
posted @ 2015-04-03 19:54
nomasp
阅读(127)
推荐(0)
摘要:
Rectangle 我们开篇先介绍一个之前用过,也是比较简单的Rectangle。简单的矩形就只用定义长和宽了,但如果要有圆角的话呢,用RadiusX和RadiusY就好啦。那么RadiusX和RadiusY到底是什么呢?看看下图就知道啦。和Rectangle类似,Border也可以...
阅读全文
posted @ 2015-04-03 18:24
nomasp
阅读(137)
推荐(0)
摘要:
对这个世界如果你有太多的抱怨 跌倒了 就不敢继续往前走 为什么 人要这么的脆弱 堕落 请你打开电视看看 多少人为生命在努力勇敢的走下去 我们是不是该知足 珍惜一切就算没有拥有 还记得 你说家是唯一的城堡随着稻香河流继续奔跑 微微笑 小时候的梦我知道 不要哭 让萤火虫带着你逃跑 乡间的...
阅读全文
posted @ 2015-04-03 16:25
nomasp
阅读(106)
推荐(0)
摘要:
这个效果比较简单,就是在启动时,控件会稍微有那么一点点的滑动效果。 既然主题是动画,那么不来点动画怎么行呢?不过由于GIF截图不太方便,而且也非常推荐大家自己试一下。 ...
阅读全文
posted @ 2015-04-02 13:09
nomasp
阅读(118)
推荐(0)
摘要:
练习4-8原文Exercise 4.8. “Named let” is a variant of let that has the form (let )The and are just as in ordinary let, except that is bound w...
阅读全文
posted @ 2015-04-01 09:53
nomasp
阅读(140)
推荐(0)
摘要:
练习4-7原文Exercise 4.7. Let* is similar to let, except that the bindings of the let variables are performed sequentially from left to right, and...
阅读全文
posted @ 2015-04-01 09:09
nomasp
阅读(112)
推荐(0)
摘要:
练习4-6原文Exercise 4.6. Let expressions are derived expressions, because (let (( ) … ( )) ) is equivalent to ((lambda ( … ) ) ) Implement a...
阅读全文
posted @ 2015-04-01 08:52
nomasp
阅读(103)
推荐(0)
摘要:
写作最快乐的事莫过于让作品成为阅读者心中的光芒。只要你敢,总会有光芒指引你。——韩寒(真是太忧伤了,刚才都写完了,不料Markdown被荡掉了,只能重写一遍了。)前些天读完了第三本韩寒的书——《我所理解的生活》,其实一直以来都觉得他的书名蛮有特色的——“他的国”、“1988:我想和这...
阅读全文
posted @ 2015-03-31 22:37
nomasp
阅读(181)
推荐(0)
摘要:
相信大家都会使用TextBox,但如果要让文本在TextBox中换行该怎么做呢?将TextWrapping属性设置为Wrap,将AcceptsReturn属性设置为True就好咯。PasswordBox很明显就是一个密码框了,和其他的控件相比其有2个特殊之处,一个是其可以用MaxLe...
阅读全文
posted @ 2015-03-31 22:23
nomasp
阅读(214)
推荐(0)
摘要:
练习4-5原文Exercise 4.5. Scheme allows an additional syntax for cond clauses, ( => ). If evaluates to a true value, then is evaluated. Its valu...
阅读全文
posted @ 2015-03-31 17:11
nomasp
阅读(105)
推荐(0)
摘要:
下面再来看看一些前面还没有讲过的控件,不过控件太多以至于无法全部列出来,大家只好举一反三啦。Button前面最常用的控件就是Button啦,Button还有一个有意思的属性呢,当把鼠标指针放在Button上时,就会在Button的头顶冒出一串文本啦。这个不太截图哎……Button有一...
阅读全文
posted @ 2015-03-31 16:20
nomasp
阅读(162)
推荐(0)
摘要:
添加控件的方式有多种,大家更喜欢哪一种呢? 1)使用诸如 Blend for Visual Studio 或 Microsoft Visual Studio XAML 设计器的设计工具。 2)在 Visual Studio XAML 编辑器中将控件添加到 XAML 标记中。 3)在代...
阅读全文
posted @ 2015-03-31 15:07
nomasp
阅读(107)
推荐(0)
摘要:
练习4-4原文Exercise 4.4. Recall the definitions of the special forms and and or from chapter 1: ● and: The expressions are evaluated from lef...
阅读全文
posted @ 2015-03-31 13:19
nomasp
阅读(145)
推荐(0)
摘要:
上一篇博客中大概的新建了一个应用,几乎是空白的。如果是初学者的话现在当然想往里面加点东西对不对。那么这篇博客就来看看页面的布局都是怎样的。首先安装上一篇博客中的顺序来新建一个项目。新建好之后就点开MainPage.xaml开始敲代码啦。^_^ ...
阅读全文
posted @ 2015-03-30 11:00
nomasp
阅读(158)
推荐(0)
摘要:
操作系统及SDK操作系统如果打算开发Windows App,那么你的电脑就不能再用老旧的Windows 7了。推荐使用Windows 8.1。写这篇博客的时候,我用的操作系统是Windows 10 Pro Technical Preview [Build 10041].操作系统除了在...
阅读全文
posted @ 2015-03-29 19:37
nomasp
阅读(174)
推荐(0)
摘要:
练习4-3原文Exercise 4.3. Rewrite eval so that the dispatch is done in data-directed style. Compare this with the datadirected differentiation pro...
阅读全文
posted @ 2015-03-29 19:35
nomasp
阅读(136)
推荐(0)
摘要:
练习4-2原文Exercise 4.2. Louis Reasoner plans to reorder the cond clauses in eval so that the clause for procedure applications appears before th...
阅读全文
posted @ 2015-03-29 19:31
nomasp
阅读(85)
推荐(0)
摘要:
练习4-1原文Exercise 4.1. Notice that we cannot tell whether the metacircular evaluator evaluates operands from left to right or from right to lef...
阅读全文
posted @ 2015-03-29 16:27
nomasp
阅读(128)
推荐(0)
摘要:
练习3-82原文Exercise 3.82. Redo exercise 3.5 on Monte Carlo integration in terms of streams. The stream version of estimate-integral will not hav...
阅读全文
posted @ 2015-03-29 15:38
nomasp
阅读(115)
推荐(0)
摘要:
练习3-81原文Exercise 3.81. Exercise 3.6 discussed generalizing the random-number generator to allow one to reset the random-number sequence so as...
阅读全文
posted @ 2015-03-29 15:31
nomasp
阅读(102)
推荐(0)
摘要:
练习3-77原文Exercise 3.77. The integral procedure used above was analogous to the “implicit” definition of the infinite stream of integers in sec...
阅读全文
posted @ 2015-03-29 11:45
nomasp
阅读(111)
推荐(0)
摘要:
练习3-72原文Exercise 3.72. In a similar way to exercise 3.71 generate a stream of all numbers that can be written as the sum of two squares in th...
阅读全文
posted @ 2015-03-29 11:15
nomasp
阅读(102)
推荐(0)
摘要:
练习3-71原文代码(define (Ramanujan s) (define (stream-cadr s) (stream-car (stream-cdr s))) (define (stream-cddr s) (stream-cdr (stre...
阅读全文
posted @ 2015-03-29 11:10
nomasp
阅读(100)
推荐(0)
摘要:
练习3-70原文代码(define (merge-weighted s1 s2 weight) (cond ((stream-null? s1) s2) ((stream-null? s2) s1) (else (let ((cars1 (stream-car ...
阅读全文
posted @ 2015-03-29 10:41
nomasp
阅读(359)
推荐(0)