Example #1
0
 public bool indlæsValgtDatasæt(int index, bool anonym)
 {
     datasæt_ = lokalDB_.hentDatasæt(datasætListe_[index]);
     if (offentligDB_.gemDatasæt(datasæt_, anonym))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
        public bool analyserValgtDatasæt(int index)
        {
            dtoDatasæt_ = lokalDB_.hentDatasæt(dtoDatasætList_[index]);
            try
            {
                if (dtoDatasætList_[index].Ip_.Count == 0)
                {
                    dtoDatasæt_.Ip_ = findRR(dtoDatasæt_.Data_);
                }
                else
                {
                    dtoDatasæt_.Ip_ = dtoDatasætList_[index].Ip_;
                }

                return(true);
            }
            catch (Exception ex)
            {
                System.Windows.Forms.MessageBox.Show("Kunne ikke hente datasæt" + ex.Message);
                return(false);
            }
        }