| 12345678910111213141516171819202122232425262728293031323334353637 | using System.Collections.ObjectModel;using OpenSEMI.ClientBase;using VirgoUI.Client.Models.Recipe;namespace VirgoUI.Client.Models.Operate.WaferAssociation{    public class SequenceDialogViewModel : DialogViewModel<string>    {        public void TreeSelectChanged(FileNode file)        {            this.currentFileNode = file;        }        public void OK()        {            if (this.currentFileNode != null)            {                if (this.currentFileNode.IsFile)                {                    this.DialogResult = this.currentFileNode.FullPath;                    IsCancel = false;                    TryClose(true);                }            }        }        public void Cancel()        {            IsCancel = true;            TryClose(false);        }        public ObservableCollection<FileNode> Files { get; set; }        private FileNode currentFileNode;    }}
 |