此文章将记录我在C# Winform 开发过程中遇到的问题及相关知识技术点 ,方便自己以后查阅.....
博客列表:
-
问题的产生: 我的WinForm程序中有一个用于更新主窗口的工作线程(worker thread),但文档中却提示我不能在多线程中调用这个form(为什么?),而事实上我在调用时程序常常会崩掉。...
2017-02-14 09:25 -
C# TableLayoutPanel 添加、删除一行数据案例
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; usin...
2017-02-16 10:27 -
http://www.cnblogs.com/Rustle/articles/11301.aspx
2017-02-13 13:53 -
1 先看需要创建的xml文件格式, 代码: /// /// 创建默认的模板文件 /// /// 64 或者128 ...
2016-12-28 18:13 -
1 条件编译符号 -> 根据条件编译项目 有时候需要项目在不同的环境下使用,这个时候就需要用到条件编译, 举例说明: 该项目在可以用在mtp128设备或者mtp64设备上,那么...
2017-01-11 15:24 -
C# INotifyPropertyChanged用法,监听属性值发生改变
有时候,我们需要监听属性中,当属性值发生改变时,需要被通知,没有改变时不需要通知,这个时候可以用INotifyPropertyChanged来做,也可以自定义委托事件 ,也可以实现,方法多多,在这里只...
2017-01-09 17:25 -
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T...
2016-12-05 15:32 -
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Con...
2016-12-08 11:20 -
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; usin...
2016-11-30 17:42 -
using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using Syste...
2016-11-30 17:57 -
尽管在.NET framework下我们并不需要担心内存管理和垃圾回收(GarbageCollection),但是我们还是应该了解它们,以优化我们的应用程序。同时,还需要具备一些基础的内存管理工作机制...
2016-12-01 14:12 -
public static void MaoPaoSort() { int ret = 0; int[] intArr