我正在使用两个forms
,当我第一次单击按钮时form
FormSales
,我想显示text
“非库存价格”并减少fontsize
。我label
的publicform
FormNumberpad
代码是,
Private Sub btnItemNonTaxable_Click(ByVal sender As Object, ByVal e As EventArgs) _
Handles btnItemNonTaxable.Click
chktax1.Checked = False
_AmountTitle = "Non Inventory Taxable Price"
Dim fnt as Font
fnt = FormNumberPad.lblTitle.Font
FormNumberPad.lblTitle.Font = New Font(fnt.Name, 12, FontStyle.Bold)
Dim numberpad As New FormNumberPad
numberpad.ShowDialog()
..............
..............
End Sub
字体大小没有减小,我该如何实现?