private void button5_Click(object sender, EventArgs e) { label9.Text = button5.Text; label9.Font = button5.Font; button5.Enabled = false; timer1.Start(); timer2.Start(); ManClicHandler?.Invoke(profession.MAN_KNIGHT); }
private void button3_Click(object sender, EventArgs e) { label9.Text = button3.Text; label9.Font = button3.Font; button5.Enabled = true; button3.Enabled = false; button4.Enabled = false; ManClicHandler?.Invoke(profession.MAN_SWORD); }
private void button1_Click(object sender, EventArgs e) { label9.Text = button1.Text; label9.Font = button1.Font; button2.Enabled = true; button3.Enabled = false; button4.Enabled = false; button5.Enabled = false; button9.Enabled = false; button8.Enabled = false; button7.Enabled = false; button6.Enabled = false; button11.Enabled = false; vertical_progressBar1.Maximum = 185; vertical_progressBar2.Maximum = 185; vertical_progressBar3.Maximum = 450; vertical_progressBar4.Maximum = 160; ManClicHandler?.Invoke(profession.MAN); }