摘要: 准备开学了没什么时间写了只实现了+号的重载 其他的以后再说using System;using System.Text;namespace high_precision_calculate{ class number { public number(string str) ... 阅读全文
posted @ 2014-02-09 11:42 fuis 阅读(176) 评论(0) 推荐(0)
摘要: 二叉树类(binaryTree.cs)using System;namespace binary_tree_demo{ class BinaryTreeNode where T : IComparable { public BinaryTreeNode() {... 阅读全文
posted @ 2014-02-08 20:34 fuis 阅读(243) 评论(0) 推荐(0)
摘要: 【转】一个漂亮的按钮样式效果图使用方法添加到MainWindow.xaml 示例ButtonVistaRed.xaml内容 ... 阅读全文
posted @ 2014-02-08 12:12 fuis 阅读(118) 评论(0) 推荐(0)
摘要: 使用Socket编写服务端和客户端服务端const int PORT = 6602;Socket listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);IPAddress ip =... 阅读全文
posted @ 2014-02-07 21:19 fuis 阅读(446) 评论(0) 推荐(0)
摘要: 非UI线程访问控件在VS2003之后的版本中,.NET加强了线程安全方面,非UI线程是不能直接访问控件的。这要求我们对控件进行线程安全方式的调用。当然,我们也可以这样做:CheckForIllegalCrossThreadCalls = false(这个属性包含在System.Windows.Fo... 阅读全文
posted @ 2014-02-07 21:14 fuis 阅读(164) 评论(0) 推荐(0)