I need to create toolstrip on the left. But toolbox have not any ToolStripContainer.
So I try to add manually a ToolStripContainer by coding at a design file. But a ToolStripContainer is drawn by a red cross.
Private Sub InitializeComponent()
Me.toolStripContainer1 = New System.Windows.Forms.ToolStripContainer()
Me.SuspendLayout()
Me.toolStripContainer1.Size = New System.Drawing.Size(635, 407)
Me.toolStripContainer1.TabIndex = 0
Me.toolStripContainer1.Text = "ToolStripContainer1"
Me.Controls.Add(Me.toolStripContainer1)
Me.toolStripContainer1.LeftToolStripPanel.ResumeLayout(False)
Me.toolStripContainer1.LeftToolStripPanel.PerformLayout()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Can I use ToolStripContainer in .Net 5.0