SAI的拙劣仿制:很多人永远也不会尝试的东西
2010-12-01 11:09
274 查看
MainWindow.xaml
奇怪的是这些人却总是在抱怨技术变化得太快。
MainWindow.xaml.cs using System.Windows; using System.Windows.Input; using System.Windows.Media; namespace wpfStylusDemo { /// /// MainWindow.xaml 的交互逻辑 /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } const double c_angle = 15; private void Window_PreviewKeyDown(object sender, KeyEventArgs e) { if (Key.End == e.Key || Key.Delete == e.Key) { var rt = inkCanvas1.LayoutTransform as RotateTransform; double angle = rt.Angle; if (Key.Delete == e.Key) angle -= c_angle; else angle += c_angle; rt.Angle = angle % 360; } } } }
奇怪的是这些人却总是在抱怨技术变化得太快。
相关文章推荐
- 你永远不会被夺走的东西是什么?认知0002
- 你永远不会被夺走的东西是什么?认知0002
- 让我们努力从“不可救药的乐观主义者”--华尔街知名投资人约翰。多尔那里学点东西(永远放弃尝试改变这个世界)
- 你永远不会被夺走的东西是什么?认知0002
- 你永远不会被夺走的东西是什么?认知0002
- 你永远不会被夺走的东西是什么?认知0002
- 你永远不会被夺走的东西是什么?认知0002
- 你永远不会被夺走的东西是什么?认知0002
- 你永远不会被夺走的东西是什么?认知0002
- 你永远不会被夺走的东西是什么?认知0002
- 你永远不会被夺走的东西是什么?认知0002
- 你永远不会被夺走的东西是什么?认知0002
- 如果你不尝试自己能力之外的事情,你永远不会成长。——拉尔夫‧爱默生
- 你永远不会被夺走的东西是什么?认知0002
- 真正爱你的人永远不会关机
- 三种东西永远不要放到数据库里
- 三种东西永远不要放到数据库里
- [导入]那些悠闲的日子永远都不会再有了.......
- 为什么很多人宁可天天去读那些个所谓的看似能学到东西却没卵用的博文,都不肯好好静下来写写代码呢?
- 硬件能力的提升,永远不会有浪费