public List <string> patch(string patchpath, infor info) { bool isborken = false; this.info = info; writehead(step.BEGIN); return(tryresume(patchpath, ref isborken)); }
private step readhead() { try { var path = Path.Combine(patchdir_rw, headname); if (!File.Exists(path)) { return(step.FINISH); } var head = File.ReadAllText(Path.Combine(patchdir_rw, headname)); info = JsonUtility.FromJson <infor>(head); return(info.step); } catch (SystemException) { return(step.INVA); } }
private void 会员管理ToolStripMenuItem1_Click(object sender, EventArgs e) { Form infor = new infor(); infor.Show(); }