private void button2_Click(object sender, EventArgs e) { panel_admin.Controls.Clear(); Engine.IsReady = false; Engine.Clear = true; panel_admin.Invalidate(); TrafficLight.Clear(); }
private void button1_Click(object sender, EventArgs e) { Engine.Stop(); panel_user.Controls.Clear(); Engine.IsReady = false; Engine.Clear = true; panel_user.Invalidate(); TrafficLight.Clear(); button9.Enabled = true; }