- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 修改Kingedit属性
kindeditor-all-min.js格式化 修改Kingedit的上传图片的url,大概4278行 B.call(d, h, f.title, f.width, f.height,f.border, f.align) 修改为 B.call(d, f.url, f.title, f.width, f.height,f.border, f.align) 然后2241行修改 ins
2016-02-04 17:33:35
1185
原创 winform与WPF间消息处理
当使用winform启动WPF应用时,传参比较简单,直接使用进程之间传递参数,若winform向已启动的WPF中传参数,则使用消息处理 winform程序,本例使用控制台 实体类 namespace ConsoleApplication1 { [StructLayout(LayoutKind.Sequential)] public struct Entity
2015-11-24 15:13:36
595
原创 BackgroundWorker改变WPF进度条值
public partial class UpdateWindow { private BackgroundWorker _work=new BackgroundWorker(); /// /// 构造函数 /// public UpdateWindow() { _work
2015-10-20 14:25:55
769
原创 WPF ,WinForm的TreeView
WinForm的TreeView using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms
2015-10-15 16:23:30
612
原创 c#操作sqlite
class Program { private static SQLiteConnection conn; private static int isExist; private static SQLiteDataReader reader; static void Main(string[] args) {
2015-07-30 10:46:48
379
原创 c#操作xml
XML文件 AA CC EE CC QQ C#文件读取xml private bool createUser(string strname)//登陆,用户存在则arrfriends中加入好友,否则创建用户 { bool fla
2015-07-29 16:27:52
283
原创 c#多线程操作UI控件
使用Dispatcher.BeginInvoke 步骤 使用Thread新建并开始一个线程 在新建的线程处理函数中需要修改界面的时候获取界面的dispatcher 使用Dispatcher的BeginInvoke方法指定一个线程优先级,和一个委托,这个委托时用于修改界面内容的 private void button1_Click(object sender, RoutedEven
2015-07-27 15:09:39
648
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅