Archived
1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Tetris/Views/GameWindow.xaml.cs

17 lines
406 B
C#
Raw Normal View History

2022-04-06 11:15:55 +02:00
using System.Runtime.InteropServices;
using System.Windows;
namespace Tetris.Views;
public partial class GameWindow : Window
{
public GameWindow()
{
AttachConsole(-1);
InitializeComponent();
// new GameManager((int)Width, (int)Height, ImageControl);
}
[DllImport("kernel32.dll")]
private static extern bool AttachConsole(int dwProcessId);
}