示例#1
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");
            }
        }