USING C# WINDOWS FORM
Program: Ordering tickets from a movie theater with reservedseating.
code to
– change color of buttons to green if selected
– change color of buttons to red to deselect (or selecttwice?)
Form2 Screen button1 button2button3 button5 buton6utton7button8buton9button 10 button 11button 12buton 13button 14button 15 Show transcribed image text Form2 Screen button1 button2button3 button5 buton6utton7button8buton9button 10 button 11button 12buton 13button 14button 15
Solution
code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Button1_Click(object sender, EventArgs e)
{
if (button1.BackColor