private void buttonView_Click(object sender, EventArgs e)
 {
     if (checkGameConfig()) {
         GamePanel gamePanel = new GamePanel();
         gamePanel.view(config);
     } else {
         MessageBox.Show(Messages.ERROR_COULD_NOT_START, Messages.ERROR_COULD_NOT_START_CAPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 private void Start_Click(object sender, EventArgs e)
 {
     if (checkGameConfig()) {
         GamePanel gamePanel = new GamePanel();
         gamePanel.FormClosed += new FormClosedEventHandler(gamePanelCloseEvent);
         try {
             gamePanel.start(config);
             gamePanels.Add(gamePanel);
             disableControls();
         } catch (InvalidDLLFileException) {
             MessageBox.Show(Messages.ERROR_INVALID_DLL, Messages.ERROR_INVALID_DLL_CAPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
         }
     } else {
         MessageBox.Show(Messages.ERROR_COULD_NOT_START, Messages.ERROR_COULD_NOT_START_CAPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }