NewProduct.vb
- Public Class NewProduct
- Dim ProgramName As String = My.Application.Info.AssemblyName
- Dim DataPath As String = System.Environment.CurrentDirectory & "\UAM"
- Dim ProductPath As String = DataPath & "\Products" '
- Dim ServicesPath As String = DataPath & "\Services"
- Dim CatPath As String = DataPath & "\Categories"
- Dim StoresPath As String = DataPath & "\Stores"
- Dim AlertsPath As String = DataPath & "\Alerts"
- Dim StoreNumber As Integer = 0
- Dim CalledFrom As String = ""
- Dim LastPriceInformation() As Double = {0, 0, 0}
- Private Shared NewProductInstance As NewProduct
- Public Shared Function GetInstance() As NewProduct
- If (NewProductInstance Is Nothing) Then
- NewProductInstance = New NewProduct
- End If
- Return NewProductInstance
- End Function
- Public Sub CalledFromWindow(ByVal SName As String, ByVal Pname As String)
- CalledFrom = SName
Hello,