Esempio n. 1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            string path = TTSWord.GetBaseDirectory();

            if (!Directory.Exists(path))
            {
                Directory.CreateDirectory(path);
            }
        }
Esempio n. 2
0
 public TTSWord(String word, int type)
 {
     Word          = word;
     Type          = type;
     AudioFileName = Path.Combine(TTSWord.GetBaseDirectory(), String.Format("{0}_{1}.mp3", this.Word, this.TypeDesc));
 }