Пример #1
0
 public LogView(ControllersAbstraction ca)
 {
     LW                    = new LogWindow();
     controller            = ca;
     LW.ClearButton.Click += ClearLog;
     LW.Show();
 }
Пример #2
0
        public PlayersView(ControllersAbstraction C)
        {
            controller = C;

            Human    = new PlayerWindow();
            Computer = new PlayerWindow();

            Human.HeadButton.Click += HumanHeadClick;
            Human.BodyButton.Click += HumanBodyClick;
            Human.LegsButton.Click += HumanLegsClick;

            Human.Show();
            Computer.Show();
        }