private void btnuredidom_Click(object sender, RoutedEventArgs e)
        {
            UrediDom uredi1 = new UrediDom();

            uredi1.Show();
            this.Close();
        }
 public UrediDom()
 {
     InitializeComponent();
     uredi1 = this;
     try
     {
         NapolniTabeloDomov();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }