Exemple #1
0
        public void SetDestFile(DataGrid myDataGrid)
        {
            if (listDestFiles == null)
            {
                listDestFiles = new List <TargetFiles>();
            }
            else
            {
                listDestFiles.Clear();
            }

            DateCopyService.CheckDataGridSelectItem(myDataGrid, "コピー先", 99);

            foreach (TargetFiles data in myDataGrid.SelectedItems)
            {
                listDestFiles.Add(data);
            }

            return;
        }
Exemple #2
0
 public void SetSourceFile(DataGrid myDataGrid)
 {
     DateCopyService.CheckDataGridSelectItem(myDataGrid, "コピー元", 1);
     SourceFile = (TargetFiles)myDataGrid.SelectedItem;
 }