Beispiel #1
0
        /*Precondition:
          Postcondition: Initializes and checks to see if files can be imported */
        private void setup()
        {
            fileManager = new FileManager();
            dbManager = new DatabaseManager();

            if (!fileManager.checkForImportStorageLocation())
            {
                importFileLocation = fileManager.getStorageFilePath();

                canImport = false;

                MessageBox.Show("Please Set import location before trying to import");
            }
            else
            {
                canImport = true;
            }
        }