摘要:
1.首先定义初始窗体,和主窗体。 初始窗体(StartWindow) 主窗体(MainWindow):2.在主窗体界面中,加载初始窗体。注意在线程中操作UI元素需要使用BeginInvoke或者Invoke方法。 StartWindow start; public MainWindow() { InitializeComponent(); Thread thread = new Thread(LoadResource); thread.Start(); thi... 阅读全文