//azuriraj
        private void MenuItem_Click(object sender, RoutedEventArgs e)
        {
            Tip        t  = typesGrid.SelectedItem as Tip;
            izmenaTipa iz = new izmenaTipa(t);

            iz.Show();
        }
        private void TypesGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Tip        t  = typesGrid.SelectedItem as Tip;
            izmenaTipa iz = new izmenaTipa(t);

            iz.Show();
        }