public bool Init(ILogicUI logicUI, object obj) { if (RuntimeInfo.CheckResDirExists() == false) { NativeInterface.ShowMsg("start_error", 100); return(false); } System.Threading.Thread th = new System.Threading.Thread(new System.Threading.ThreadStart(DownLoadThread)); th.Start(); m_State = UpdateState.UPDATE_INIT; m_UpdateUI = (UpdateLogicUI)logicUI; return(true); }