Question: modify the code so it can use the drop menu for individual use strip names CentXRectToolStripMenuItem CentYRectToolStripMenuItem AreaRectToolStripMenuItem code Private Sub RectangleToolStripMenuItem _ Click (

modify the code so it can use the drop menu for individual use
strip names
CentXRectToolStripMenuItem
CentYRectToolStripMenuItem
AreaRectToolStripMenuItem
code
Private Sub RectangleToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles RectangleToolStripMenuItem.Click
rect.Base = Convert.ToSingle(TxtBase.Text)
rect.Height = Convert.ToSingle(TxtHeight.Text)
lblCentXRect.Text = rect.CentX().ToString()
lblCentYRect.Text = rect.CentY().ToString()
lblAreaRect.Text = rect.Area().ToString()
End Sub
modify the code so it can use the drop menu for

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!