private void BtnEdit_Click(object sender, System.EventArgs e)
        {
            if (!(BsLeveis.Current is BuildingLevel buildingLevel))
            {
                return;
            }

            var form = new FrmBuildingLevel
            {
                BuildingLevel = buildingLevel
            };

            form.Show();
        }
 private void BtnNewLevel_Click(object sender, System.EventArgs e)
 {
     if (BsDados.Current is Building building)
     {
         var form = new FrmBuildingLevel
         {
             BuildingLevel = new BuildingLevel
             {
                 Building = building
             }
         };
         form.ShowDialog(this);
         OpenLevels();
     }
 }