Top-level menus are translated as MenuStrip objects there is only one MenuStrip object in each form, whose child controls are drop-down menus.VB.NET uses three different objects to render the VB6 Menu object. Top-level menus, drop-down menus, and separators ProjectConversionInitProgressLabel = New () Me. ProjectConversionInitProgressBar = New () Me. StatusStripConversionFileProgressLabel = New () Me. StatusStripConversionProgressBar = New ToolStripTextProgressBar() Me. StatusStripElapasedTimeLabel = New () Me. LineNumbersForConversionOutput = New LineNumbersForRichTextBox() Me. LineNumbersForConversionInput = New LineNumbersForRichTextBox() Me. TSFindMatchWholeWordCheckBox = New ToolStripCheckBox() Me. TSFindMatchCaseCheckBox = New ToolStripCheckBox() Me. mnuViewShowDestinationLineNumbers = New () Me. mnuViewShowSourceLineNumbers = New () Me. mnuOptionsDefaultFrameworkFullAnyFull = New () Me. mnuOptionsDefaultFrameworkFull = New () Me. mnuOptionsDefaultFrameworkFullAn圜ore = New () Me. mnuOptionsDefaultFrameworkCore = New () Me. mnuOptionsPauseConvertOnSuccess = New () Me. mnuOptionsFolderConversionsOptionsSkipTestResourceFiles = New () Me. mnuOptionsFolderConversionsOptionsSkipBinAndObjFolders = New () Me. mnuOptionsFolderConversionsOptionsSkipAutoGenerated = New () Me. mnuOptionsFolderConversionsOptions = New () Me. mnuOptionsEditIgnoreFilesWithErrorsList = New () Me. You can add a ToolStripSeparator at design time by choosing it from a drop-down list. The ToolStripSeparator is automatically spaced and oriented horizontally or vertically to accord with its container. mnuOptionsAddFilesToIgnoreFilesEithErrorsList = New () Me. Use a ToolStripSeparator to group related items on a menu or ToolStrip. mnuOptionsDelayBetweenConversions = New () Me. mnuConvertStartFolderConvertFromLastFile = New () Me. components = New () Dim resources As = New ( GetType (Form1)) Me. Dispose(disposing) End Try End Sub 'Required by the Windows Form Designer Private components As 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. Protected Overrides Sub Dispose(disposing As Boolean ) Try If disposing Then If components IsNot Nothing Then components.Dispose() End If If _cancellationTokenSource IsNot Nothing Then _cancellationTokenSource.Dispose() End If End If Finally MyBase. Partial Class Form1 Inherits 'Form overrides dispose to clean up the component list. The designer file should not change or the file should not open in designer YET.Īccidently opening a Form with UserControls corrupts the document, this is a silent change which makes it very bad. Add a UserControl to a Form in Framework.LineNumbersForConversionInput.Visible = False Friend WithEvents LineNumbersForConversionInput As DefaultNameSpace.LineNumbersForRichTextBox LineNumbersForConversionInput.TabIndex = 23 Me. LineNumbersForConversionInput.Size = New ( 23, 491 ) Me. LineNumbersForConversionInput.ParentRichTextBox = Me. LineNumbersForConversionInput.Padding = New ( 0, 0, 2, 0 ) Me. LineNumbersForConversionInput.Name = "LineNumbersForConversionInput" Me. LineNumbersForConversionInput.MarginLinesThickness = 1.0 ! Me. LineNumbersForConversionInput.Margin = New ( 0 ) Me. LineNumbersForConversionInput.Location = New ( 0, 0 ) Me. LineNumbersForConversionInput.LineNrsOffset = New ( 0, 0 ) Me. LineNumbersForConversionInput.GridLinesThickness = 1.0 ! Me. Support overflow and run-time item reordering. LineNumbersForConversionInput.Dock = .Left Me. Create easily customized, commonly employed toolbars that support advanced user interface and layout features, such as docking, rafting, buttons with text and images, drop-down buttons and controls, overflow buttons, and run-time reordering of ToolStrip items. LineNumbersForConversionInput.BorderLinesThickness = 1.0 ! Me. LineNumbersForConversionInput.BackgroundGradientAlphaColor = ( CType ( CType ( 0, Byte ), Integer ), CType ( CType ( 0, Byte ), Integer ), CType ( CType ( 0, Byte ), Integer ), CType ( CType ( 0, Byte ), Integer )) Me. LineNumbersForConversionInput = New DefaultNameSpace.LineNumbersForRichTextBox() ' 'LineNumbersForConversionInput ' Me.
0 Comments
Leave a Reply. |