Ejemplo n.º 1
0
 private void ExecuteSaveCommand()
 {
     if (string.IsNullOrEmpty(_file))
     {
         _file = LocalHelper.ChooseSaveFile("新建文本");
     }
     if (string.IsNullOrEmpty(_file))
     {
         return;
     }
     LocalHelper.SaveFile(Content, _file);
 }