Пример #1
0
 private static void OnAskIfDataExistsInWritingSystemToBeDeleted(object sender, AskIfDataExistsInWritingSystemToBeDeletedEventArgs args)
 {
     args.ProjectContainsDataInWritingSystemToBeDeleted = WeSayWordsProject.Project.IsWritingSystemUsedInLiftFile(args.WritingSystemId);
     args.ErrorMessage = "It's in use in the LIFT file.";
 }
 public void OnAskIfDataExistsInWritingSystemToBeDeleted_DataExists(object sender, AskIfDataExistsInWritingSystemToBeDeletedEventArgs args)
 {
     AskIfDataExistsInWritingSystemToBeDeletedFired     = true;
     args.ProjectContainsDataInWritingSystemToBeDeleted = true;
 }