how disable and get name for control in FlowLayoutPanel from ContextMenuStrip in VB.Net : **my program Contain buttens in FlowLayoutPanel 
I went to disable any butten when right click on it and click disable in ContextMenuStrip**

**my code is** 

    Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        For i As Integer = 0 To 30
            Dim btn As New Button
            btn.Name = i
            btn.Text = i
            btn.ContextMenuStrip = ContextMenuStrip1
            FlowLayoutPanel1.Controls.Add(btn)
        Next
    End Sub
    
End Class

[enter image description here][1]


 


  [1]: https://i.stack.imgur.com/QAmGA.png