private void WriteLabelStartGameButton(bool flag) { if (flag) { StartGameButton.Text = "Start Game More"; StartGameButton.Visible = false; } else { StartGameButton.Text = "Start Game"; _injector = null; StartGameButton.Visible = true; } }
private void StartGameButton_Click(object sender, EventArgs e) { if (_injector == null) { _injector = new Injector(this); _injector.injectDll(); } }