Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# Write an application that displays revenue generated for exercise classes at the Tappan Gym. The gym offers two types of exercise classes, zumba and

C# Write an application that displays revenue generated for exercise classes at the Tappan Gym. The gym offers two types of exercise classes, zumba and spinning, six days per week, four times per day. Zumba is offered at 1, 3, 5, and 7 p.m.; spinning is offered at 2, 4, 6, and 8 p.m. When attendees sign up, they agree to pay $4.00 per class for zumba and $5.00 for spinning. Produce a table displaying the number of attendees per time slot. Display a row and column of totals showing the total number of attendees by day and also time period. Also include a column showing the revenue generated each day and the overall revenue per type of exercise. Do a compile-time initialization of your data structures using data from the following table. Zumba 1:00 3:00 5:00 7:00 Monday 12 10 17 22 Tuesday 11 13 17 22 Wednesday 12 10 22 22 Thursday 9 14 17 22 Friday 12 10 21 12 Saturday 12 10 5 10 Spinning 2:00 4:00 6:00 8:00 Monday 7 11 15 8 Tuesday 9 9 9 9 Wednesday 3 12 13 7 Thursday 2 9 9 10 Friday 8 4 9 4 Saturday 4 5 9 3

The answer was posted but the code does not work. Button 1 generate revenue and button 2 calculate do not appear to work. Is a second form required for the spin class? How will it interact? See code below:

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 Experiment1

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

private void textBox2_TextChanged(object sender, EventArgs e)

{

}

private void button1_Click(object sender, EventArgs e)

{

// row 1

int a, b, c, d;

bool isAValid = int.TryParse(textBox1.Text, out a);

bool isBValid = int.TryParse(textBox2.Text, out b);

bool isCValid = int.TryParse(textBox3.Text, out c);

bool isDValid = int.TryParse(textBox4.Text, out d);

//if (isAValid || isBValid || isCValid || isDValid)

textBox6.Text = (a + b + c + d).ToString();

// row 2

int a2, b2, c2, d2;

bool isA2Valid = int.TryParse(textBox7.Text, out a2);

bool isB2Valid = int.TryParse(textBox8.Text, out b2);

bool isC2Valid = int.TryParse(textBox9.Text, out c2);

bool isD2Valid = int.TryParse(textBox10.Text, out d2);

if (isA2Valid || isB2Valid || isC2Valid || isD2Valid)

textBox11.Text = (a2 + b2 + c2 + d2).ToString();

// row 3

int a3, b3, c3, d3;

bool isA3Valid = int.TryParse(textBox12.Text, out a3);

bool isB3Valid = int.TryParse(textBox13.Text, out b3);

bool isC3Valid = int.TryParse(textBox14.Text, out c3);

bool isD3Valid = int.TryParse(textBox15.Text, out d3);

if (isA3Valid || isB3Valid || isC3Valid || isD3Valid)

textBox16.Text = (a3 + b3 + c3 + d3).ToString();

// row 4

int a4, b4, c4, d4;

bool isA4Valid = int.TryParse(textBox17.Text, out a4);

bool isB4Valid = int.TryParse(textBox18.Text, out b4);

bool isC4Valid = int.TryParse(textBox19.Text, out c4);

bool isD4Valid = int.TryParse(textBox20.Text, out d4);

if (isA4Valid || isB4Valid || isC4Valid || isD4Valid)

textBox21.Text = (a4 + b4 + c4 + d4).ToString();

// row 5

int a5, b5, c5, d5;

bool isA5Valid = int.TryParse(textBox22.Text, out a5);

bool isB5Valid = int.TryParse(textBox23.Text, out b5);

bool isC5Valid = int.TryParse(textBox24.Text, out c5);

bool isD5Valid = int.TryParse(textBox25.Text, out d5);

if (isA5Valid || isB5Valid || isC5Valid || isD5Valid)

textBox26.Text = (a5 + b5 + c5 + d5).ToString();

// row 6

int a6, b6, c6, d6;

bool isA6Valid = int.TryParse(textBox27.Text, out a6);

bool isB6Valid = int.TryParse(textBox28.Text, out b6);

bool isC6Valid = int.TryParse(textBox29.Text, out c6);

bool isD6Valid = int.TryParse(textBox30.Text, out d6);

if (isA6Valid || isB6Valid || isC6Valid || isD6Valid)

textBox31.Text = (a6 + b6 + c6 + d6).ToString();

}

private void button2_Click(object sender, EventArgs e)

{

int a7, b7, c7, d7, e7, f7;

bool isA7Valid = int.TryParse(textBox6.Text, out a7);

bool isB7Valid = int.TryParse(textBox11.Text, out b7);

bool isC7Valid = int.TryParse(textBox16.Text, out c7);

bool isD7Valid = int.TryParse(textBox21.Text, out d7);

bool isE7Valid = int.TryParse(textBox26.Text, out e7);

bool isF7Valid = int.TryParse(textBox31.Text, out f7);

if (isA7Valid || isB7Valid || isC7Valid || isD7Valid || isE7Valid || isF7Valid)

textBox5.Text = (a7 + b7 + c7 + d7 + e7 + f7).ToString();

}

}

}

namespace Experiment1 { partial class Form1 { ///

/// Required designer variable. /// private System.ComponentModel.IContainer components = null;

///

/// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }

#region Windows Form Designer generated code

///

/// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox7 = new System.Windows.Forms.TextBox(); this.textBox8 = new System.Windows.Forms.TextBox(); this.textBox9 = new System.Windows.Forms.TextBox(); this.textBox10 = new System.Windows.Forms.TextBox(); this.textBox11 = new System.Windows.Forms.TextBox(); this.textBox12 = new System.Windows.Forms.TextBox(); this.textBox13 = new System.Windows.Forms.TextBox(); this.textBox14 = new System.Windows.Forms.TextBox(); this.textBox15 = new System.Windows.Forms.TextBox(); this.textBox16 = new System.Windows.Forms.TextBox(); this.textBox17 = new System.Windows.Forms.TextBox(); this.textBox18 = new System.Windows.Forms.TextBox(); this.textBox19 = new System.Windows.Forms.TextBox(); this.textBox20 = new System.Windows.Forms.TextBox(); this.textBox21 = new System.Windows.Forms.TextBox(); this.textBox22 = new System.Windows.Forms.TextBox(); this.textBox23 = new System.Windows.Forms.TextBox(); this.textBox24 = new System.Windows.Forms.TextBox(); this.textBox25 = new System.Windows.Forms.TextBox(); this.textBox26 = new System.Windows.Forms.TextBox(); this.textBox27 = new System.Windows.Forms.TextBox(); this.textBox28 = new System.Windows.Forms.TextBox(); this.textBox29 = new System.Windows.Forms.TextBox(); this.textBox30 = new System.Windows.Forms.TextBox(); this.textBox31 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 8; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.10169F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.8983F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 108F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 74F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 105F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 118F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 97F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 139F)); this.tableLayoutPanel1.Controls.Add(this.label1, 1, 0); this.tableLayoutPanel1.Controls.Add(this.label2, 2, 0); this.tableLayoutPanel1.Controls.Add(this.label3, 3, 0); this.tableLayoutPanel1.Controls.Add(this.label4, 4, 0); this.tableLayoutPanel1.Controls.Add(this.label5, 5, 0); this.tableLayoutPanel1.Controls.Add(this.label6, 0, 1); this.tableLayoutPanel1.Controls.Add(this.label10, 0, 5); this.tableLayoutPanel1.Controls.Add(this.label11, 0, 6); this.tableLayoutPanel1.Controls.Add(this.label8, 0, 2); this.tableLayoutPanel1.Controls.Add(this.label7, 0, 4); this.tableLayoutPanel1.Controls.Add(this.label9, 0, 3); this.tableLayoutPanel1.Controls.Add(this.textBox1, 1, 1); this.tableLayoutPanel1.Controls.Add(this.textBox2, 2, 1); this.tableLayoutPanel1.Controls.Add(this.textBox3, 3, 1); this.tableLayoutPanel1.Controls.Add(this.textBox4, 4, 1); this.tableLayoutPanel1.Controls.Add(this.textBox6, 5, 1); this.tableLayoutPanel1.Controls.Add(this.textBox5, 5, 7); this.tableLayoutPanel1.Controls.Add(this.textBox7, 1, 2); this.tableLayoutPanel1.Controls.Add(this.textBox8, 2, 2); this.tableLayoutPanel1.Controls.Add(this.textBox9, 3, 2); this.tableLayoutPanel1.Controls.Add(this.textBox10, 4, 2); this.tableLayoutPanel1.Controls.Add(this.textBox11, 5, 2); this.tableLayoutPanel1.Controls.Add(this.textBox12, 1, 3); this.tableLayoutPanel1.Controls.Add(this.textBox13, 2, 3); this.tableLayoutPanel1.Controls.Add(this.textBox14, 3, 3); this.tableLayoutPanel1.Controls.Add(this.textBox15, 4, 3); this.tableLayoutPanel1.Controls.Add(this.textBox16, 5, 3); this.tableLayoutPanel1.Controls.Add(this.textBox17, 1, 4); this.tableLayoutPanel1.Controls.Add(this.textBox18, 2, 4); this.tableLayoutPanel1.Controls.Add(this.textBox19, 3, 4); this.tableLayoutPanel1.Controls.Add(this.textBox20, 4, 4); this.tableLayoutPanel1.Controls.Add(this.textBox21, 5, 4); this.tableLayoutPanel1.Controls.Add(this.textBox22, 1, 5); this.tableLayoutPanel1.Controls.Add(this.textBox23, 2, 5); this.tableLayoutPanel1.Controls.Add(this.textBox24, 3, 5); this.tableLayoutPanel1.Controls.Add(this.textBox25, 4, 5); this.tableLayoutPanel1.Controls.Add(this.textBox26, 5, 5); this.tableLayoutPanel1.Controls.Add(this.textBox27, 1, 6); this.tableLayoutPanel1.Controls.Add(this.textBox28, 2, 6); this.tableLayoutPanel1.Controls.Add(this.textBox29, 3, 6); this.tableLayoutPanel1.Controls.Add(this.textBox30, 4, 6); this.tableLayoutPanel1.Controls.Add(this.textBox31, 5, 6); this.tableLayoutPanel1.Controls.Add(this.button1, 2, 8); this.tableLayoutPanel1.Controls.Add(this.button2, 4, 8); this.tableLayoutPanel1.Location = new System.Drawing.Point(12, 12); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 10; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 38F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 33F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 31F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 8F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(860, 295); this.tableLayoutPanel1.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(147, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(28, 13); this.label1.TabIndex = 0; this.label1.Text = "1:00"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(221, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(28, 13); this.label2.TabIndex = 1; this.label2.Text = "3:00"; this.label2.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(329, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(28, 13); this.label3.TabIndex = 2; this.label3.Text = "5:00"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(403, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(28, 13); this.label4.TabIndex = 3; this.label4.Text = "7:00"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(508, 0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(104, 13); this.label5.TabIndex = 4; this.label5.Text = "Revenue Generated"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(3, 40); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(45, 13); this.label6.TabIndex = 5; this.label6.Text = "Monday"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(3, 178); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(35, 13); this.label10.TabIndex = 9; this.label10.Text = "Friday"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(3, 208); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(49, 13); this.label11.TabIndex = 10; this.label11.Text = "Saturday"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(3, 80); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(48, 13); this.label8.TabIndex = 7; this.label8.Text = "Tuesday"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(3, 151); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(51, 13); this.label7.TabIndex = 6; this.label7.Text = "Thursday"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(3, 118); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(64, 13); this.label9.TabIndex = 8; this.label9.Text = "Wednesday"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(147, 43); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(68, 20); this.textBox1.TabIndex = 11; this.textBox1.Text = "12"; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(221, 43); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(100, 20); this.textBox2.TabIndex = 12; this.textBox2.Text = "10"; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(329, 43); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(68, 20); this.textBox3.TabIndex = 13; this.textBox3.Text = "17"; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(403, 43); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(99, 20); this.textBox4.TabIndex = 14; this.textBox4.Text = "22"; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(508, 43); this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(100, 20); this.textBox6.TabIndex = 15; // // textBox5 // this.textBox5.Location = new System.Drawing.Point(508, 242); this.textBox5.Name = "textBox5"; this.textBox5.Size = new System.Drawing.Size(100, 20); this.textBox5.TabIndex = 16; // // textBox7 // this.textBox7.Location = new System.Drawing.Point(147, 83); this.textBox7.Name = "textBox7"; this.textBox7.Size = new System.Drawing.Size(68, 20); this.textBox7.TabIndex = 17; this.textBox7.Text = "11"; // // textBox8 // this.textBox8.Location = new System.Drawing.Point(221, 83); this.textBox8.Name = "textBox8"; this.textBox8.Size = new System.Drawing.Size(100, 20); this.textBox8.TabIndex = 18; this.textBox8.Text = "13"; // // textBox9 // this.textBox9.Location = new System.Drawing.Point(329, 83); this.textBox9.Name = "textBox9"; this.textBox9.Size = new System.Drawing.Size(68, 20); this.textBox9.TabIndex = 19; this.textBox9.Text = "17"; // // textBox10 // this.textBox10.Location = new System.Drawing.Point(403, 83); this.textBox10.Name = "textBox10"; this.textBox10.Size = new System.Drawing.Size(99, 20); this.textBox10.TabIndex = 20; this.textBox10.Text = "22"; // // textBox11 // this.textBox11.Location = new System.Drawing.Point(508, 83); this.textBox11.Name = "textBox11"; this.textBox11.Size = new System.Drawing.Size(100, 20); this.textBox11.TabIndex = 21; // // textBox12 // this.textBox12.Location = new System.Drawing.Point(147, 121); this.textBox12.Name = "textBox12"; this.textBox12.Size = new System.Drawing.Size(68, 20); this.textBox12.TabIndex = 22; this.textBox12.Text = "12"; // // textBox13 // this.textBox13.Location = new System.Drawing.Point(221, 121); this.textBox13.Name = "textBox13"; this.textBox13.Size = new System.Drawing.Size(100, 20); this.textBox13.TabIndex = 23; this.textBox13.Text = "10"; // // textBox14 // this.textBox14.Location = new System.Drawing.Point(329, 121); this.textBox14.Name = "textBox14"; this.textBox14.Size = new System.Drawing.Size(68, 20); this.textBox14.TabIndex = 24; this.textBox14.Text = "22"; // // textBox15 // this.textBox15.Location = new System.Drawing.Point(403, 121); this.textBox15.Name = "textBox15"; this.textBox15.Size = new System.Drawing.Size(99, 20); this.textBox15.TabIndex = 25; this.textBox15.Text = "22"; // // textBox16 // this.textBox16.Location = new System.Drawing.Point(508, 121); this.textBox16.Name = "textBox16"; this.textBox16.Size = new System.Drawing.Size(100, 20); this.textBox16.TabIndex = 26; // // textBox17 // this.textBox17.Location = new System.Drawing.Point(147, 154); this.textBox17.Name = "textBox17"; this.textBox17.Size = new System.Drawing.Size(68, 20); this.textBox17.TabIndex = 27; this.textBox17.Text = "9"; // // textBox18 // this.textBox18.Location = new System.Drawing.Point(221, 154); this.textBox18.Name = "textBox18"; this.textBox18.Size = new System.Drawing.Size(100, 20); this.textBox18.TabIndex = 28; this.textBox18.Text = "14"; // // textBox19 // this.textBox19.Location = new System.Drawing.Point(329, 154); this.textBox19.Name = "textBox19"; this.textBox19.Size = new System.Drawing.Size(68, 20); this.textBox19.TabIndex = 29; this.textBox19.Text = "17"; // // textBox20 // this.textBox20.Location = new System.Drawing.Point(403, 154); this.textBox20.Name = "textBox20"; this.textBox20.Size = new System.Drawing.Size(99, 20); this.textBox20.TabIndex = 30; this.textBox20.Text = "22"; // // textBox21 // this.textBox21.Location = new System.Drawing.Point(508, 154); this.textBox21.Name = "textBox21"; this.textBox21.Size = new System.Drawing.Size(100, 20); this.textBox21.TabIndex = 31; // // textBox22 // this.textBox22.Location = new System.Drawing.Point(147, 181); this.textBox22.Name = "textBox22"; this.textBox22.Size = new System.Drawing.Size(68, 20); this.textBox22.TabIndex = 32; this.textBox22.Text = "12"; // // textBox23 // this.textBox23.Location = new System.Drawing.Point(221, 181); this.textBox23.Name = "textBox23"; this.textBox23.Size = new System.Drawing.Size(100, 20); this.textBox23.TabIndex = 33; this.textBox23.Text = "10"; // // textBox24 // this.textBox24.Location = new System.Drawing.Point(329, 181); this.textBox24.Name = "textBox24"; this.textBox24.Size = new System.Drawing.Size(68, 20); this.textBox24.TabIndex = 34; this.textBox24.Text = "21"; // // textBox25 // this.textBox25.Location = new System.Drawing.Point(403, 181); this.textBox25.Name = "textBox25"; this.textBox25.Size = new System.Drawing.Size(99, 20); this.textBox25.TabIndex = 35; this.textBox25.Text = "12"; // // textBox26 // this.textBox26.Location = new System.Drawing.Point(508, 181); this.textBox26.Name = "textBox26"; this.textBox26.Size = new System.Drawing.Size(100, 20); this.textBox26.TabIndex = 36; // // textBox27 // this.textBox27.Location = new System.Drawing.Point(147, 211); this.textBox27.Name = "textBox27"; this.textBox27.Size = new System.Drawing.Size(68, 20); this.textBox27.TabIndex = 37; this.textBox27.Text = "12"; // // textBox28 // this.textBox28.Location = new System.Drawing.Point(221, 211); this.textBox28.Name = "textBox28"; this.textBox28.Size = new System.Drawing.Size(100, 20); this.textBox28.TabIndex = 38; this.textBox28.Text = "10"; // // textBox29 // this.textBox29.Location = new System.Drawing.Point(329, 211); this.textBox29.Name = "textBox29"; this.textBox29.Size = new System.Drawing.Size(68, 20); this.textBox29.TabIndex = 39; this.textBox29.Text = "5"; // // textBox30 // this.textBox30.Location = new System.Drawing.Point(403, 211); this.textBox30.Name = "textBox30"; this.textBox30.Size = new System.Drawing.Size(99, 20); this.textBox30.TabIndex = 40; this.textBox30.Text = "10"; // // textBox31 // this.textBox31.Location = new System.Drawing.Point(508, 211); this.textBox31.Name = "textBox31"; this.textBox31.Size = new System.Drawing.Size(100, 20); this.textBox31.TabIndex = 41; // // button1 // this.button1.Location = new System.Drawing.Point(221, 262); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(102, 21); this.button1.TabIndex = 42; this.button1.Text = " Revenue Generated"; this.button1.UseVisualStyleBackColor = true; // // button2 // this.button2.Location = new System.Drawing.Point(403, 262); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(88, 21); this.button2.TabIndex = 43; this.button2.Text = "Calculate"; this.button2.UseVisualStyleBackColor = true; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(675, 335); this.Controls.Add(this.tableLayoutPanel1); this.Name = "Form1"; this.Text = "Form1"; this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.ResumeLayout(false);

}

#endregion

private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label10; private System.Windows.Forms.Label label11; private System.Windows.Forms.Label label8; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label9; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.TextBox textBox3; private System.Windows.Forms.TextBox textBox4; private System.Windows.Forms.TextBox textBox6; private System.Windows.Forms.TextBox textBox5; private System.Windows.Forms.TextBox textBox7; private System.Windows.Forms.TextBox textBox8; private System.Windows.Forms.TextBox textBox9; private System.Windows.Forms.TextBox textBox10; private System.Windows.Forms.TextBox textBox11; private System.Windows.Forms.TextBox textBox12; private System.Windows.Forms.TextBox textBox13; private System.Windows.Forms.TextBox textBox14; private System.Windows.Forms.TextBox textBox15; private System.Windows.Forms.TextBox textBox16; private System.Windows.Forms.TextBox textBox17; private System.Windows.Forms.TextBox textBox18; private System.Windows.Forms.TextBox textBox19; private System.Windows.Forms.TextBox textBox20; private System.Windows.Forms.TextBox textBox21; private System.Windows.Forms.TextBox textBox22; private System.Windows.Forms.TextBox textBox23; private System.Windows.Forms.TextBox textBox24; private System.Windows.Forms.TextBox textBox25; private System.Windows.Forms.TextBox textBox26; private System.Windows.Forms.TextBox textBox27; private System.Windows.Forms.TextBox textBox28; private System.Windows.Forms.TextBox textBox29; private System.Windows.Forms.TextBox textBox30; private System.Windows.Forms.TextBox textBox31; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; } }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

Why is damage to an insureds own property excluded under Part A?

Answered: 1 week ago

Question

Describe how data could be transmitted using frequency modulation.

Answered: 1 week ago