public void Add_file(string file_name)
        {
            string prilepi;

            try
            {
                povezava.Dodaj(file_name);

                prilepi = delo.Refactor_string(file_name);
                List_Files.Items.Add(prilepi);
            }
            catch (Exception ex)
            {
                MessageBox.Show("Database error in adding file name to database " + ex, "Database Error", MessageBoxButton.OK, MessageBoxImage.Error);
            }
        }
        private void ListView_Init()
        {
            try
            {
                foreach (string stvar in povezava.Vrni_vse())
                {
                    podatki_za_primerjat.Add(delo.Refactor_string(stvar));
                }

                List <ListView_Data> abc = delo.Datoteke_namizje();
                lis.ItemsSource = abc;
            }
            catch (Exception ex)
            {
                MessageBox.Show("ListtView_innit Error: " + ex, "ListtView_innit Error", MessageBoxButton.OK, MessageBoxImage.Error);
            }
        }