public void azurirajAdmina(object sender, EventArgs e)
        {
            Boolean proveraValidnosti = ValidacijaPodataka.validacijaAdmina(ref txtIDBRAdmina, ref txtImeAdmina,
                                                                            ref txtPrezimeAdmina, ref txtKorImeAdmina, ref txtLozinkaAdmina, ref txtDatumRodjenjaAdmina,
                                                                            ref txtTitulaAdmina);
            Boolean proveraValNovogIdbr = ValidacijaPodataka.validacijaIdbrAzuriranje(ref txtNoviIDBRAdmina);

            if (proveraValidnosti == true && proveraValNovogIdbr == true)
            {
                Administrator a = new Administrator(txtImeAdmina.Text, txtPrezimeAdmina.Text, txtKorImeAdmina.Text,
                                                    txtLozinkaAdmina.Text, txtDatumRodjenjaAdmina.Text, int.Parse(txtIDBRAdmina.Text), txtTitulaAdmina.Text);
                a.azuiranjeAdmina(int.Parse(txtNoviIDBRAdmina.Text));
                txtIDBRAdmina.Text          = "";
                txtImeAdmina.Text           = "";
                txtPrezimeAdmina.Text       = "";
                txtKorImeAdmina.Text        = "";
                txtLozinkaAdmina.Text       = "";
                txtDatumRodjenjaAdmina.Text = "";
                txtTitulaAdmina.Text        = "";
                txtNoviIDBRAdmina.Text      = "";
                cbTrenutniAdmini.Text       = "";
            }
            else
            {
                MessageBox.Show("Podaci o Administratoru nisu pravilno popunjeni ili novi IDBR Administratora nije validan!", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }
        public void dodajNovogAdmina(object sender, EventArgs e)
        {
            Boolean proveraValidnosti = ValidacijaPodataka.validacijaAdmina(ref txtIDBRAdmina, ref txtImeAdmina,
                                                                            ref txtPrezimeAdmina, ref txtKorImeAdmina, ref txtLozinkaAdmina, ref txtDatumRodjenjaAdmina,
                                                                            ref txtTitulaAdmina);

            if (proveraValidnosti == true)
            {
                Administrator a = new Administrator(txtImeAdmina.Text, txtPrezimeAdmina.Text, txtKorImeAdmina.Text,
                                                    txtLozinkaAdmina.Text, txtDatumRodjenjaAdmina.Text, int.Parse(txtIDBRAdmina.Text), txtTitulaAdmina.Text);
                Boolean proveraDodavanja = a.dodajNovogAdmina();
                if (proveraDodavanja == false)
                {
                    txtIDBRAdmina.Text          = "";
                    txtImeAdmina.Text           = "";
                    txtPrezimeAdmina.Text       = "";
                    txtKorImeAdmina.Text        = "";
                    txtLozinkaAdmina.Text       = "";
                    txtDatumRodjenjaAdmina.Text = "";
                    txtTitulaAdmina.Text        = "";
                    txtNoviIDBRAdmina.Text      = "";
                    cbTrenutniAdmini.Text       = "";
                }
                else
                {
                    txtKorImeAdmina.Text = "";
                    txtIDBRAdmina.Text   = "";
                }
            }
            else
            {
                MessageBox.Show("Uneti podaci nisu pravilno popunjeni!", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }