Exemplo n.º 1
0
        private void buttonIstekleClanarine_Click(object sender, RoutedEventArgs e)
        {
            Window3 w3 = new Window3();

            Close();
            w3.ShowDialog();
        }
Exemplo n.º 2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            textBoxIme.Focus();
            dtpOd.SelectedDate = DateTime.Now;
            dtpDo.SelectedDate = DateTime.Now.AddDays(30);
            OsveziListu();
            Window3 w3 = new Window3();

            w3.Visibility = Visibility.Hidden;
            w3.ShowDialog();
            if (w3.listView.HasItems)
            {
                MessageBox.Show("U listi je clan sa isteklom clanarinom", "Poruka", MessageBoxButton.OK, MessageBoxImage.Warning);
                w3.Close();
            }
            else
            {
                w3.Close();
            }
        }