I've run into an odd issue. I've got a page that inherits from a customer page class and recently, for yet unknown reasons, every time I work with the page in the form designer, the designer inserts lines into the Initialize Component Sub.
Before:
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
After:
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.ImagePath = ""
Me.PageTitle = "Federal Loan Consolidation Program"
Me.PhoneNumber = "1-866-562-6672"
Me.ProgramName = "Consolidation"
Me.SectionType = "Consolidation"
End Sub
I know the values being inserted are coming from the class my page inherits from. But I've run into a snag in that the ImagePath value isn't inheriting properly and therefore is causing my pages, when built, to not display properly.
Ideally I don't see why these values are being brought in at all since my page should simply inherit from the base class. If anyone knows how to stop the form designer from doing this, I'd really appreciate it.
Before:
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
After:
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.ImagePath = ""
Me.PageTitle = "Federal Loan Consolidation Program"
Me.PhoneNumber = "1-866-562-6672"
Me.ProgramName = "Consolidation"
Me.SectionType = "Consolidation"
End Sub
I know the values being inserted are coming from the class my page inherits from. But I've run into a snag in that the ImagePath value isn't inheriting properly and therefore is causing my pages, when built, to not display properly.
Ideally I don't see why these values are being brought in at all since my page should simply inherit from the base class. If anyone knows how to stop the form designer from doing this, I'd really appreciate it.