DataModel Class for the Import Dialog
상속: INotifyPropertyChanged
예제 #1
0
        /// <summary>
        /// Import Constructor
        /// </summary>
        public Import()
        {
            InitializeComponent();

            _data = new ImportModel();
            gridMain.DataContext = _data;
        }
예제 #2
0
        /// <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;
        }