//Edit building
 private void edit_button_Click(object sender, RoutedEventArgs e)
 {
     if (buildingslvDataBinding.SelectedItem != null)
     {
         string address   = buildingslvDataBinding.SelectedItem.ToString();
         var    building1 = new new_building(address); //Open new building form
         building1.Show();
     }
     else
     {
         MessageBox.Show("לא נבחר בניין");
     }
 }
        //"New Building" button
        private void cmd_NewBuilding_Click(object sender, RoutedEventArgs e)
        {
            var building1 = new new_building(); //Open new building form

            building1.Show();
        }