void b_Click(object sender, RoutedEventArgs e)
        {
            PanelSettings pn = new PanelSettings(this);

            pn.Show();
        }
        void Window_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
        {
            PanelSettings pn = new PanelSettings(this);

            pn.Show();
        }