Zdravím, už nějakou dobu hledám, jak v kódu (Basic, Visual Studio 2019) skrýt automaticky generovaný kód. Jedná se o kód typu:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class frmConverter
Inherits System.Windows.Forms.Form
...
nebo
<System.Diagnostics.DebuggerStepThrough()>
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmConverter))
Dim ListViewItem1 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem("Délka")
Dim ListViewItem2 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem("Plocha")
Dim ListViewItem3 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem("Objem")
Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
Me.staStav = New System.Windows.Forms.StatusStrip()
Me.staStavV = New System.Windows.Forms.ToolStripStatusLabel()
Me.staStavJ = New System.Windows.Forms.ToolStripStatusLabel()
Navíc se definice
Friend WithEvents ToolStripStatusLabel3 As ToolStripStatusLabel
Friend WithEvents ToolStripStatusLabel4 As ToolStripStatusLabel
Friend WithEvents ToolStripDropDownButton1 As ToolStripDropDownButton
míchají mezi procedury/funkce mého kódu. Rád bych viděl v editoru kódu pouze "svůj" kód. Je někde možné toto nastavit? Díky za info.
|