public MainForm() { InitializeComponent(); interfaceManager = new InterfaceManager(startControl, exitControl, mapChoosingControl, levelControl); interfaceManager.StageChanged += Game_OnStageChanged; ShowStartScreen(); }
public void Configure(InterfaceManager interfaceManager) { if (this.interfaceManager != null) { return; } this.interfaceManager = interfaceManager; Back.Click += Back_Click; }
public void Configure(InterfaceManager interfaceManager) { if (this.interfaceManager != null) { return; } this.interfaceManager = interfaceManager; YESButton.Click += YESButton_Click; NOButton.Click += NOButton_Click; }
public void Configure(InterfaceManager interfaceManager) { if (this.interfaceManager != null) { return; } this.interfaceManager = interfaceManager; startButton.Click += StartButton_Click; ExitButton.Click += ExitButton_Click; }
public void Configure(InterfaceManager interfaceManager) { this.interfaceManager = interfaceManager; timer.Start(); }