Skip to content

Commit ddd9013

Browse files
committed
修复全屏一些问题、自定义格式支持文字换行 - 20241126
1 parent 03f9a0d commit ddd9013

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Src/TimeControl/Form2.vb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ errcode:
115115
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
116116
Dim disi As Graphics = Me.CreateGraphics()
117117
Label20.Width = Me.Width - disi.DpiX * 0.01 * 50
118+
TextBox2.Height = Me.Height * 0.12
118119
OpenFileDialog1.Filter = "所有支持的文件 (*.png;*.jpg;*.jpeg;*.jpe;*.jfif;*.bmp;*.dib;*.gif;*.tif;*.tiff;*.ico)|*.png;*.jpg;*.jpeg;*.jpe;*.jfif;*.bmp;*.dib;*.gif;*.tif;*.tiff;*.ico|" _
119120
& "PNG 图像 (*.png)|*.png|JPEG 文件 (*.jpg;*.jpeg;*.jpe;*.jfif)|*.jpg;*.jpeg;*.jpe;*.jfif|" _
120121
& "BMP 文件 (*.bmp;*.dib)|*.bmp;*.dib|GIF 图像 (*.gif)|*.gif|TIFF 文件 (*.tif;*.tiff)|*.tif;*.tiff|图标文件(*.ico)|*.ico|所有文件 (*.*)|*.*"

0 commit comments

Comments
 (0)