internal void InitPicture(Image pic, SelectedPictureParam param) { m_viewModel = new SelectCompareParamViewModel(); ucSingleDrawImageWnd1.DrawImage = pic;// param.BasePicture; m_viewModel.PictureParam = param; }
private void FormExportList_Load(object sender, EventArgs e) { if (m_viewModel == null) { m_viewModel = new SelectCompareParamViewModel(); } new System.Threading.Thread(() => { System.Threading.Thread.Sleep(200); DoPlay(); }).Start(); }