Exemplo n.º 1
0
        private void btnTEST_Click(object sender, RoutedEventArgs e)
        {
            TEST test = new TEST(App.bazy.getBazy().ElementAt(lista.SelectedIndex), this);

            this.Visibility = Visibility.Collapsed;
            test.Show();
        }
Exemplo n.º 2
0
        private void btnTEST_Click(object sender, RoutedEventArgs e)
        {
            TEST test = new TEST(baza, this);

            test.Left = this.Left + this.Width / 13 + 2;
            test.Top  = this.Top + this.Height / 6;

            test.Show();
            this.Visibility = Visibility.Collapsed;
        }
Exemplo n.º 3
0
        private void btnTestZBledow_Click(object sender, RoutedEventArgs e)
        {
            if (bledy.Count != 0)
            {
                TEST test = new TEST(bazaBledow, window);

                test.Left = window.Left + this.Width / 13 + 2;
                test.Top  = window.Top + this.Height / 6;

                test.Show();

                window.Visibility = Visibility.Collapsed;
            }

            else
            {
                MessageBox.Show("Brak błędów");
            }
        }