摘要: 1.首先定义初始窗体,和主窗体。 初始窗体(StartWindow) 主窗体(MainWindow):2.在主窗体界面中,加载初始窗体。注意在线程中操作UI元素需要使用BeginInvoke或者Invoke方法。 StartWindow start; public MainWindow() { InitializeComponent(); Thread thread = new Thread(LoadResource); thread.Start(); thi... 阅读全文
posted @ 2013-10-31 21:45 xiaocong_soft 阅读(893) 评论(1) 推荐(0) 编辑