private void Zakazky_Load(object sender, EventArgs e)
        {
            Properties.Settings.Default.formulare_otvorenie = false;
            Properties.Settings.Default.Login = "";
            Properties.Settings.Default.Save();
            this.tblSnimaceZoznamTableAdapter.Fill(this.novaDBcsharpDataSet.tblSnimaceZoznam);
            this.tblObjednavkyTableAdapter.Fill(this.novaDBcsharpDataSet.tblObjednavky);
            this.tblZakazkyTableAdapter.Fill(this.novaDBcsharpDataSet.tblZakazky);
            this.comboBoxItem2.ComboBoxEx.DataSource = this.tblSnimaceZoznamBindingSource;
            Class1.set_sort_main_form();
            Prihlásenie aa = new Prihlásenie();

            aa.ShowDialog();
        }
        private void btnOdhlasit_Click(object sender, EventArgs e)
        {
            Prihlásenie aa = new Prihlásenie();

            aa.ShowDialog();
        }