| | |
| | | using HMI.Core.Annotation; |
| | | using HMI.Core.Util; |
| | | using HMI.MenuManage.Entity; |
| | | using HMI.UI.DpUtil; |
| | | using Microsoft.Win32; |
| | | using HMI.MenuManage.Entity; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using Panuon.WPF.UI; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Collections.ObjectModel; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Reflection; |
| | | using System.Windows; |
| | | using System.Windows.Controls; |
| | | using System.Xml.Linq; |
| | | |
| | | namespace HMI.MenuManage |
| | | { |
| | |
| | | |
| | | public bool? Open(string currentValue) |
| | | { |
| | | list.ItemsSource = icons.Select(i => i.Code).ToList(); |
| | | list.ItemsSource = icons?.Select(i => i.Code).ToList(); |
| | | Data = currentValue; |
| | | return this.ShowDialog(); |
| | | } |