private void NewBuilding_Click(object sender, EventArgs e)
        {
            var form = new AddBuildingFrom();

            if (form.ShowDialog() == DialogResult.OK)
            {
                var list = da.GetBuildings();
                BuildingGrid.DataSource = list;

                //todo: noting
            }
        }
        private void BuildingGrid_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            if (BuildingGrid.SelectedRows.Count > 0)
            {
                var row        = BuildingGrid.SelectedRows[0];
                int buildingId = ((dynamic)row.DataBoundItem).Id;

                var form = new AddBuildingFrom();
                form.EditBuilding(buildingId);
                if (form.ShowDialog() == DialogResult.OK)
                {
                    da = new DataAccess();
                    var list = da.GetBuildings();
                    BuildingGrid.DataSource = list;

                    //todo: noting
                }
            }
        }