/// <summary>
 /// 属性变更
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Script_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "ScriptName")
     {
         ItemScriptNameChanged?.Invoke(this.DataContext);
     }
 }
 /// <summary>
 /// 脚本名称修改事件
 /// </summary>
 /// <param name="selectedItem"></param>
 private void ScriptItem_ItemScriptNameChanged(object selectedItem)
 {
     ItemScriptNameChanged?.Invoke(selectedItem);
 }