ACAT.Extensions.Default.FunctionalAgents.NewFile.NewFileAgent.handleDone C# (CSharp) Méthode

handleDone() private méthode

User has entered the filename. Create the file, launch the app and quit
private handleDone ( ) : void
Résultat void
        private void handleDone()
        {
            var fileName = _newFileNameForm.FileToCreate.Trim();
            if (!String.IsNullOrEmpty(fileName))
            {
                var name = Path.GetFileName(fileName);
                if (confirm(string.Format(Resources.CreateFile0, name)))
                {
                    createFileAndLaunchApp(fileName);
                    handleQuit(false);
                }
            }
        }