예제 #1
0
 private void BtnLoadXML_Click(object sender, RoutedEventArgs e)
 {
     if (FileExplorer.SelectedDirectory?.DirType == (int)ObjectType.File)
     {
         LoadingBatchListEventArgs args = new LoadingBatchListEventArgs();
         args.Path = FileExplorer.SelectedDirectory.Path;
         LoadingBatchList?.Invoke(this, args);
     }
 }
        private void UcBatchListBox_LoadingBatchList(object sender, EventArgs e)
        {
            LoadingBatchListEventArgs args = e as LoadingBatchListEventArgs;

            PaintingMachine.LoadBatchList(args.Path);
        }