コード例 #1
0
ファイル: GameView.xaml.cs プロジェクト: Sekagra/Tetris
        public GameView()
        {
            InitializeComponent();

                DisplayBehaviour = new DisplayFlowFromRight(this);
                _controller = new GameViewController(); //The DependencyProperty changed ensures, that an actual instance with Tetris will be created
        }
コード例 #2
0
ファイル: SettingsView.xaml.cs プロジェクト: Sekagra/Tetris
 public SettingsView()
 {
     InitializeComponent();
     DisplayBehaviour = new DisplayFlowFromRight(this);
 }