我一直在编制方案,但我有一些基本问题,其中一个问题是:
Public Class PriceListDetails
Dim pricelist As BSPLib.PriceLists.PriceList
Dim IsReadOnly1 As Boolean
Public Sub New(ByVal IsReadonly2 As Boolean)
This call is required by the designer.
InitializeComponent()
Add any initialization after the InitializeComponent() call.
Readonly prevents from Modifying/Saving
IsReadOnly1 = IsReadonly
End Sub
End Class
是否必须创立ReadyOnly1和ReadyOnly2, 是否有办法将参数从新的方法移至ReadyOnly1 是否直接与参考类型类似?
谢谢。