private void Tile_Click_1(object sender, System.Windows.RoutedEventArgs e)
 {
     try
     {
     CadViatura cadViatura = new CadViatura();
     cadViatura.ShowDialog();
     }
     catch (Exception ex)
     {
         
         MessageBox.Show(ex.Message);
     }
 }
        private void ViaturaMenuItem_Click(object sender, RoutedEventArgs e)
        {
            try
            {
             CadViatura cadViatura = new CadViatura();
             cadViatura.ShowDialog();
            }
            catch (Exception ex)
            {

                MessageBox.Show(ex.Message);
            }
            
        }