Camarada una mas como programo los botones, al hacerlo en el diseñador hago doble click en el boton y me abre la ventana de codigo de ese boton como lo hago al crear el boton con codigo. lo hice asi como me dijiste
Dim Panel_Menu As New System.Windows.Forms.Panel
Dim Bot_Clie As New System.Windows.Forms.Button
Dim Bot_Coti As New System.Windows.Forms.Button
Panel_Menu.Visible = True
Panel_Menu.Width = 368
Panel_Menu.Height = 224
Panel_Menu.Top = 72
Panel_Menu.Left = 320
Bot_Clie.Visible = True
Bot_Clie.Width = 144
Bot_Clie.Height = 40
Bot_Clie.Left = 24
Bot_Clie.Top = 16
Bot_Clie.Text = "Cliente"
Bot_Clie.Font = New System.Drawing.Font("Verdana", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Bot_Coti.Visible = True
Bot_Coti.Width = 144
Bot_Coti.Height = 40
Bot_Coti.Left = 24
Bot_Coti.Top = 64
Bot_Coti.Text = "Cotizacion"
Bot_Coti.Font = New System.Drawing.Font("Verdana", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Bot_Sop.Visible = True
Bot_Sop.Width = 144
Bot_Sop.Height = 40
Bot_Sop.Left = 24
Bot_Sop.Top = 120
Bot_Sop.Text = "Soporte"
Bot_Sop.Font = New System.Drawing.Font("Verdana", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Controls.Add(Panel_Menu)
Panel_Menu.Controls.Add(Bot_Clie)
Panel_Menu.Controls.Add(Bot_Coti)
Panel_Menu.Controls.Add(Bot_Sop)
Ojala y puedas ayudarme otra vez, jejejeje, de antemano gracias. |