NewSell.vb
- Public Class NewSell
- 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 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 NewSellInstance As NewSell
- Dim DiscountMNT As Double = 0
- Dim DiscountMNTAfter As Double = 0
- Public Shared Function GetInstance() As NewSell
- If (NewSellInstance Is Nothing) Then
- NewSellInstance = New NewSell
- End If
- Return NewSellInstance
- End Function
Hello,