void batchDeleteCommand()
        {
            var dialog = this.ShowDialog("提示信息", "确认删除?", CustomControl.Enums.DialogSettingType.OkAndCancel, CustomControl.Enums.DialogType.Warning);

            if (dialog == CustomControl.Enums.DialogResultType.OK)
            {
                var cl = base.GetClCase(base.LocalID);

                // 验证是否确认删除?
                var toDeleteTeachers = this.Teachers.Where(t => t.IsChecked)?.ToList();
                if (toDeleteTeachers != null)
                {
                    foreach (var t in toDeleteTeachers)
                    {
                        // 更新UI
                        this.Teachers.Remove(t);
                        // 移除教师
                        cl.Teachers.RemoveAll(teacher => teacher.ID.Equals(t.ID));
                        // 删除基础数据
                        MixedDataHelper.TeacherChanged(t, base.LocalID, CommonDataManager);

                        // 发送消息
                        GalaSoft.MvvmLight.Messaging.Messenger.Default.Send <UITeacher>(t);
                    }

                    base.Serialize(cl, LocalID);
                }
            }
        }
        void batchDeleteCommand()
        {
            var hasChecked = this.Teachers.Any(t => t.IsChecked);

            if (!hasChecked)
            {
                this.ShowDialog("提示信息", "没有选中要删除的教师!", CustomControl.Enums.DialogSettingType.OnlyOkButton, CustomControl.Enums.DialogType.Warning);
                return;
            }

            var dialog = this.ShowDialog("提示信息", "确认删除?", CustomControl.Enums.DialogSettingType.OkAndCancel, CustomControl.Enums.DialogType.Warning);

            if (dialog == CustomControl.Enums.DialogResultType.OK)
            {
                var rule      = base.GetClRule(base.LocalID);
                var algo      = base.GetCLAlgoRule(base.LocalID);
                var cl        = base.GetClCase(base.LocalID);
                var hasPatern = base.HasPatern();

                // 验证是否确认删除?
                var toDeleteTeachers = _toDeleteTeachers?.Count == 0 ? this.Teachers.Where(t => t.IsChecked)?.ToList() : _toDeleteTeachers?.Where(t => t.IsChecked);
                if (toDeleteTeachers != null)
                {
                    foreach (var t in toDeleteTeachers)
                    {
                        // 更新UI
                        this.Teachers.Remove(t);
                        // 移除教师
                        cl.Teachers.RemoveAll(teacher => teacher.ID.Equals(t.ID));
                        // 删除基础数据
                        MixedDataHelper.TeacherChanged(t, base.LocalID, rule, algo, cl, hasPatern);

                        // 发送消息
                        GalaSoft.MvvmLight.Messaging.Messenger.Default.Send <UITeacher>(t);
                    }

                    base.Serialize(cl, LocalID);
                }
            }
        }