コード例 #1
0
        public void SaveAsJsonFiles(string targetPath, ResponseOptions saveFile = ResponseOptions.Yes, ResponseOptions deleteFiles = ResponseOptions.OK)
        {
            Courier courier = new Courier(saveFile, "JE_RUN_SAVE_FILES_CHECK");

            courier.AddResponse(deleteFiles, "JE_RUN_SAVE_AS_JSON_FILES_M_1");
            Bard bard = new Bard("SelectedPath", targetPath);

            bard.InputInformation.Add("DialogResult", ResponseOptions.OK);
            AdventurerAssociation.RegisterMember(bard);
            AdventurerAssociation.RegisterMember(courier);
            MainFormInvoke(MainForm.tmiSaveAsJsonFiles_Click);
        }