protected void OnBrowseBtnClick()
        {
            var folder = ComdlgUtility.OpenFolderDialog("Open Folder");

            if (!string.IsNullOrEmpty(folder))
            {
                workDir = folder;
            }
        }
        protected void OnOpenBtnClick()
        {
            var selectFile = ComdlgUtility.OpenFileDialog("Open File", workDir, "Text(*.txt)\0*.txt");

            if (string.IsNullOrEmpty(selectFile))
            {
                return;
            }

            currentFile      = selectFile;
            ipt_Content.text = File.ReadAllText(currentFile);
        }
        protected void OnSaveBtnClick()
        {
            if (string.IsNullOrEmpty(currentFile))
            {
                var fileName = "New text";
                if (newFileNumber > 0)
                {
                    fileName += (" " + newFileNumber);
                }

                var saveFile = ComdlgUtility.SaveFileDialog("Save File", workDir, fileName, "Text(*.txt)\0*.txt");
                if (string.IsNullOrEmpty(saveFile))
                {
                    return;
                }
                currentFile = saveFile;
            }
            File.WriteAllText(currentFile, ipt_Content.text);
        }