When you create a form using Visual Studio, it will put the form information in two separate files.
The part you see:
Public Class frmAudFeedSentenceEdit
This is just an ad in the main file where you will usually work.
However, a second file is created ( frmAudFeedSentenceEdit.Designer.vb ), which will have:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class frmAudFeedSentenceEdit Inherits System.Windows.Forms.Form
As you can see, this is still a Partial Class , but the Inherits is placed in the file created by the constructor for you.
You can see this if you look in the Class View window, go to your form and double-click InitializeComponent() (since this Sub is defined in the constructor file).
source share