public MainWindow()
        {
            InitializeComponent();

            // Настройки окна
            this.Height          = 550;
            this.Width           = 1100;
            this.BorderThickness = new Thickness(2, 10, 2, 2);

            this.WindowStyle           = WindowStyle.None;
            this.ResizeMode            = ResizeMode.NoResize;
            this.WindowStartupLocation = WindowStartupLocation.CenterScreen;

            // Инициализация изображения
            imgMedicine.Source = WPF_Misc.ImageSourceFromBitmap(DoctorSimulator.Properties.Resources.ddd);
        }
 void BtnLoadGame_Click(object sender, RoutedEventArgs e)
 {
     WPF_Misc.OpenPauseWindow(this, new LoadWindow(new HomeWindow(this), this));
 }
        void BtnStartGame_Click(object sender, RoutedEventArgs e)
        {
            WPF_Misc.OpenNewWindow(this, new HomeWindow(this));

            this.Close();
        }