Hi I need a code block to accomplish the following task :
There is a flolayoutpanel in my form with 3 panels in it. I want my submit button to count the panels and create a stopwatch control named after each panel. Here is what I have so far :
Dim Panels As Integer = FlowLayoutPanel1.Controls.Count
For i = 1 To Panels
Dim StopwatchNumber As Integer = FlowLayoutPanel1.Controls.Count + 1
Dim Stopwatch As New Stopwatch ' <-- How can I assign the name [Stopwatch1]?
Next