Private Sub Form1_Load (sender As Object, As EventArgs e) Handles MyBase. Load
Me. FormBorderStyle=1
ComboBox1. DropDownStyle=2
ComboBox1. Items. The Add (" Form1 ")
ComboBox1. Items. The Add (" Form2 ")
ComboBox1. Items. The Add (" Form3 ")
ComboBox1. SelectedIndex=0
End Sub
The "Me. FormBorderStyle=1" in the program?
CodePudding user response:
FormBorderStyle. None0
No border
FormBorderStyle. FixedSingle
1
Fixed border line
FormBorderStyle. Fixed3D
2
3 d style of fixed frame
FormBorderStyle. FixedDialog
3
Fixed dialog style thick
FormBorderStyle. Sizable
4
Can adjust the size of the border,
FormBorderStyle. FixedToolWindow
5
Do not adjust the size of the tool window frame
FormBorderStyle. SizableToolWindow
6
Can adjust the size of the tool window frame
CodePudding user response:
This represents the form style, the style here is \ \ FormBorderStyle. FixedSingleIs your window formborderstyle set to fixedsingle
CodePudding user response:
Using "magic number" for the program: don't say you are a programmer, I don't know you!CodePudding user response:
As such can endure? Kill himCodePudding user response: