private void factoryButton_Click(object sender, EventArgs e) { FactoryDialog = new FactoryForm(Player); FactoryDialog.Display(); UpdateLabels(); }