NewBuy.vb
- Public Class NewBuy
- 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 CustomersPath As String = DataPath & "\Customers"
- Dim CompanyPath As String = DataPath & "\Company"
- Dim MovmentPath As String = DataPath & "\Movment"
- Dim RequestsPath As String = DataPath & "\Requests"
- Dim VendorsPath As String = DataPath & "\Vendors"
- Dim BoxPath As String = DataPath & "\Box"
- Dim AlertsPath As String = DataPath & "\Alerts"
- Dim SettingsPath As String = DataPath & "\Settings"
- Dim AddToVindorBoolean As Boolean = False
- Friend WithEvents PrintPreviewControl1 As PrintPreviewControl
- Private WithEvents docToPrint As New Printing.PrintDocument
- Private Shared NewBuyInstance As NewBuy
- Public Shared Function GetInstance() As NewBuy
- If (NewBuyInstance Is Nothing) Then
- NewBuyInstance = New NewBuy
- End If
- Return NewBuyInstance
Hello,