private void Button_Click(object sender, RoutedEventArgs e)
        {
            startingWindow startingWindow = new startingWindow();

            startingWindow.Show();
            this.Close();
        }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            connect.OpenConnection();
            MessageBox.Show("Poprawnie połączono!");
            connect.CloseConnection();

            startingWindow startingWindow = new startingWindow();

            startingWindow.Show();
            this.Close();
        }