private void ImportAllTextButton_Click(object sender, EventArgs e) { if (InputFormRef.IsPleaseWaitDialog(this)) {//2重割り込み禁止 return; } ToolTranslateROM trans = new ToolTranslateROM(); trans.CheckTextImportPatch(true); trans.ImportAllText(this); }
private void ImportAllTextButton_Click(object sender, EventArgs e) { if (InputFormRef.IsPleaseWaitDialog(this)) {//2重割り込み禁止 return; } ToolTranslateROM trans = new ToolTranslateROM(); trans.CheckTextImportPatch(true); Undo.UndoData undodata = Program.Undo.NewUndoData("Import Translate file"); if (X_OVERRAIDE_JPFONT.Checked) { trans.WipeJPTitle(undodata); trans.WipeJPFont(this, undodata); } trans.ImportAllText(this, undodata); trans.BlackOut(undodata); Program.Undo.Push(undodata); }