private void btnInapoi_Click(object sender, EventArgs e)
        {
            conectare.ConectareBazDate();
            conn = conectare.ConectareBazDate();

            OleDbCommand cmdSelect;

            OleDbDataReader reader;

            conn.Open();

            cmdSelect = new OleDbCommand("SELECT Rol FROM Conturi where Conturi.idCont = @idCont", conn);
            cmdSelect.Parameters.AddWithValue("@idCont", Cont);
            reader = cmdSelect.ExecuteReader();

            reader.Read();



            if (reader.GetValue(0).ToString() == "Administrator")
            {
                this.Hide();
                var meniu = new MeniuAdministrator(Cont);
                meniu.ShowDialog();
                this.Close();
            }
            else
            {
                if (reader.GetValue(0).ToString() == "Personal Hotel")
                {
                    this.Hide();
                    var meniu = new MeniuPersonalHotel(Cont);
                    meniu.ShowDialog();
                    this.Close();
                }
                else
                {
                    if (reader.GetValue(0).ToString() == "Personal Restaurant")
                    {
                        this.Hide();
                        var meniu = new MeniuPersonalRestaurant(Cont);
                        meniu.ShowDialog();
                        this.Close();
                    }


                    else
                    {
                        if (reader.GetValue(0).ToString() == "ResponsabilEvenimente")
                        {
                            this.Hide();
                            var meniu = new MeniuResponsabilEvenimente(Cont);
                            meniu.ShowDialog();
                            this.Close();
                        }
                    }
                }
            }
        }
        private void rezerva_o_camera_Click(object sender, EventArgs e)
        {
            this.Hide();
            var MeniuPersonalHotelPrincipal = new MeniuPersonalHotel(cont);

            MeniuPersonalHotelPrincipal.ShowDialog();
            this.Close();
        }