摘要: #include <iostream>using namespace std; /** * 定义一个矩形类模板Rect * 成员函数:calcArea()、calePerimeter() * 数据成员:m_length、m_height */template<class T>class Rect{p 阅读全文
posted @ 2016-05-04 23:43 流星小子 阅读(157) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApplication22.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2016-05-04 16:42 流星小子 阅读(716) 评论(0) 推荐(0) 编辑
摘要: WPF中的事件及冒泡事件和隧道事件的区别 阅读全文
posted @ 2016-05-04 15:03 流星小子 阅读(663) 评论(0) 推荐(0) 编辑