/// <summary> /// Import Constructor /// </summary> public Import() { InitializeComponent(); _data = new ImportModel(); gridMain.DataContext = _data; }
/// <summary> /// Import Constructor /// </summary> /// <param name="project">Reference to project.</param> /// <param name="sourceDir">Source Directory to import from.</param> /// <param name="destDir">Destination Directory to import to.</param> public Import(Project project, string sourceDir, string destDir) { InitializeComponent(); _data = new ImportModel(); gridMain.DataContext = _data; _project = project; _sourceDir = sourceDir; _destDir = destDir; }