/// <summary>
        /// Opens a Jupiter database and reads requested data
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ReadButton_Click(object sender, EventArgs e)
        {
            openFileDialog2.Filter            = "Known file types (*.mdb)|*.mdb";
            this.openFileDialog2.ShowReadOnly = true;
            this.openFileDialog2.Title        = "Select an Access file with data in JupiterXL format";

            if (openFileDialog2.ShowDialog() == DialogResult.OK)
            {
                JupiterFilter jd = new JupiterFilter();

                jd.ReadWells = (Wells == null);

                string FileName = openFileDialog2.FileName;
                if (DialogResult.OK == jd.ShowDialog())
                {
                    JupiterReader = new Reader(FileName);

                    if (Wells == null)
                    {
                        Wells    = JupiterReader.WellsForNovana(jd.ReadLithology, jd.ReadPejlinger, jd.ReadChemistry, jd.OnlyRo);
                        LC.Wells = Wells;
                    }
                    else
                    {
                        if (jd.ReadPejlinger)
                        {
                            JupiterReader.Waterlevels(Wells, jd.OnlyRo);
                        }
                    }

                    if (jd.ReadExtration)
                    {
                        if (DPlants == null)
                        {
                            DPlants = JupiterReader.ReadPlants(Wells);
                        }

                        JupiterReader.FillInExtraction(DPlants);
                        if (jd.ReadWells)
                        {
                            buttonNovanaExtract.Enabled = true;
                        }
                        buttonMsheExt.Enabled = true;
                    }
                    if (jd.ReadPejlinger)
                    {
                        if (jd.ReadWells)
                        {
                            buttonNovanaShape.Enabled = true;
                        }
                        buttonLSFile.Enabled  = true;
                        buttonMSheObs.Enabled = true;
                    }

                    UpdateListsAndListboxes();
                }
            }
        }
    /// <summary>
    /// Opens a Jupiter database and reads requested data
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    private void ReadButton_Click(object sender, EventArgs e)
    {
      openFileDialog2.Filter = "Known file types (*.mdb)|*.mdb";
      this.openFileDialog2.ShowReadOnly = true;
      this.openFileDialog2.Title = "Select an Access file with data in JupiterXL format";

      if (openFileDialog2.ShowDialog() == DialogResult.OK)
      {
        JupiterFilter jd = new JupiterFilter();

        jd.ReadWells = (Wells == null);

        string FileName = openFileDialog2.FileName;
        if (DialogResult.OK == jd.ShowDialog())
        {
          JupiterReader = new Reader(FileName);

          if (Wells == null)
          {
            Wells = JupiterReader.WellsForNovana(jd.ReadLithology, jd.ReadPejlinger, jd.ReadChemistry, jd.OnlyRo);
            LC.Wells = Wells;
          }
          else
          {
              if (jd.ReadPejlinger)
              {
                  JupiterReader.Waterlevels(Wells, jd.OnlyRo);
              }
          }

          if (jd.ReadExtration)
          {
            if (DPlants == null)
              DPlants = JupiterReader.ReadPlants(Wells);
  
            JupiterReader.FillInExtraction(DPlants);
            if (jd.ReadWells)
              buttonNovanaExtract.Enabled = true;
            buttonMsheExt.Enabled = true;
          }
          if (jd.ReadPejlinger)
          {
            if (jd.ReadWells)
                buttonNovanaShape.Enabled = true;
              buttonLSFile.Enabled = true;
              buttonMSheObs.Enabled = true;
          }

          UpdateListsAndListboxes();
        }
      }
    }