Ejemplo n.º 1
0
 void OnImportDataSourceChanged(IImportDataSource oldValue, IImportDataSource newValue)
 {
     if (oldValue != null)
     {
         oldValue.CancelBackgroundProcessing();
         oldValue.ReleaseTempResources();
     }
 }
Ejemplo n.º 2
0
        void fileExplorerControl1_SourcePathCanged(object sender, EventArgs e)
        {
            var path = fileExplorerControl1.SourcePath;

            if (Directory.Exists(path))
            {
                this.ImportDataSource            = new ImportDataSource(Model, path, true);
                this.filesGridControl.DataSource = this.ImportDataSource.RealtimeSource;
                this.filesExplorerView.ClearImageLoader();
            }
        }