public void InitializeAllLocalsButton_Click()
        {
            DisplayListLocalsTextBox.Clear();
            List <Locales> tiendasTotales = new List <Locales>();
            List <Locales> cineTotales    = new List <Locales>();
            List <Locales> restTotales    = new List <Locales>();
            string         var            = "";

            if (InfoPanelChooseButton_Clicked != null)
            {
                List <Locales> localesList = InfoPanelChooseButton_Clicked(this, new LocalesEventArgs());
                if (localesList != null)
                {
                    foreach (Locales local in localesList)
                    {
                        if (local.LocalType == "Tienda")
                        {
                            tiendasTotales.Add(local);
                            foreach (Tienda tienda in tiendasTotales)
                            {
                                var += tienda.ToString() + "\r\n";
                            }
                        }
                        else if (local.LocalType == "Cine")
                        {
                            cineTotales.Add(local);
                            foreach (Cine cine in cineTotales)
                            {
                                var += cine.ToString() + "\r\n";
                            }
                        }
                        else if (local.LocalType == "Rest")
                        {
                            restTotales.Add(local);
                            foreach (Restaurant restaurant in restTotales)
                            {
                                var += restaurant.ToString() + "\r\n";
                            }
                        }
                    }
                }
                DisplayListLocalsTextBox.AppendText(var);
            }
        }
 private void DisplayListGoBackButton_Click(object sender, EventArgs e)
 {
     InitializePanel.BringToFront();
     DisplayListLocalsTextBox.Clear();
 }