/// <summary>
 /// 复制一个 BatchIOConfigSectionViewModel 的副本。
 /// </summary>
 /// <param name="origin">原实例。</param>
 public BatchIOConfigSectionViewModel(
     BatchIOConfigSectionViewModel origin)
 {
     InputList       = new(origin.InputList);
     _subtitleFormat = origin.SubtitleFormat;
     _outputFormat   = origin.OutputFormat;
 }
Пример #2
0
        public BatchIOConfigSection()
        {
            DataContext = new BatchIOConfigSectionViewModel(this);

            InitializeComponent();

            _inputFileGrid = this.FindControl <Grid>("InputFileGrid");

            AddHandler(DragDrop.DropEvent, DropHandler);
        }