Ejemplo n.º 1
0
        private void DodajEtiketu_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            WindowEtiketa resurs = new WindowEtiketa();

            resurs.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            resurs.ShowDialog();
        }
Ejemplo n.º 2
0
 private void izmijeni_Click(object sender, RoutedEventArgs e)
 {
     if ((Etiketa)dgrMainEtiketa.SelectedItem == null)
     {
         MessageBox.Show("MORA SE SELEKTOVATI ETIKETA", "UPOZORENJE", MessageBoxButton.OKCancel);
     }
     else
     {
         Etiketa       selektovana = (Etiketa)dgrMainEtiketa.SelectedItem;
         WindowEtiketa izmjena     = new WindowEtiketa(selektovana);
         izmjena.ShowDialog();
     }
 }
Ejemplo n.º 3
0
        private void dodajEtiketu_Click(object sender, RoutedEventArgs e)
        {
            WindowEtiketa et = new WindowEtiketa();

            et.ShowDialog();
        }