The important thing in glad programming user interface is the "Resources".
Each Visual Studio.NET project has Resources folder to store all type of images and bitmaps or icons etc...
In our tutorials you must download the Resources folder and paste it to your project folder, to make sure that your project will working as we programming.
Download the Universal Accounting Manager - Resources folder from Google Drive.
Process Modules Project
Process Modules Project source code and complete project in "Process Modules and ProcessName Collecter" e-learning section.
Coded by: Wesam Naffaa
Coded by: Wesam Naffaa
Puzzle Game project
Full Puzzle Game source code and complete project in "Puzzle Game project" e-learning section.
NOTE: You must read "Puzzle Game - Resources" to understand how to apply the sources & codes to your side.Coded by: Wesam Naffaa
Accounting Manager project
Full Accounting manager source code and complete project in "Universal Accounting Manager project" e-learning section.
NOTE: You must read "Universal Accounting Manager - Resources" to understand how to apply the sources & codes to your side.Coded by: Wesam Naffaa
File encryption project
Full File encryption center source code and complete project in "File encryption center project" e-learning section.
NOTE: You must read "File encryption center - Resources" to understand how to apply the sources & codes to your side.Coded by: Wesam Naffaa
Showing posts with label Universal Accounting Manager. Show all posts
Showing posts with label Universal Accounting Manager. Show all posts
Universal Accounting Manager - ViewBox.vb
ViewBox.vb
- Public Class ViewBox
- 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 YearSTR As String = Date.Now.Year
- Dim MonthSTR As String = Date.Now.Month
- Dim DaySTR As String = Date.Now.Day
- Dim Status As String = ""
- Private Shared ViewBoxInstance As ViewBox
- Public Shared Function GetInstance() As ViewBox
- If (ViewBoxInstance Is Nothing) Then
- ViewBoxInstance = New ViewBox
- End If
- Return ViewBoxInstance
- End Function
- Private Sub ViewBox_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Universal Accounting Manager - ViewBox.Designer.vb
ViewBox.Designer.vb
- <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
- Partial Class ViewBox
- Inherits System.Windows.Forms.UserControl
- 'UserControl overrides dispose to clean up the component list.
- <System.Diagnostics.DebuggerNonUserCode()> _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- MyBase.Dispose(disposing)
- End Sub
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> _
- Private Sub InitializeComponent()
- Me.components = New System.ComponentModel.Container()
- Me.Pan1LBL = New System.Windows.Forms.Label()
- Me.Label1 = New System.Windows.Forms.Label()
- Me.Label4 = New System.Windows.Forms.Label()
Universal Accounting Manager - StoreCat.vb
StoreCat.vb
- Public Class StoreCat
- 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"
- Private Shared StoreCatInstance As StoreCat
- Public Shared Function GetInstance() As StoreCat
- If (StoreCatInstance Is Nothing) Then
- StoreCatInstance = New StoreCat
- End If
- Return StoreCatInstance
- End Function
- Private Sub StoreCat_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- LV.Columns.Add("إسم السلعة \ المنتج")
- LV.Columns.Add("الكمية")
- LV.Columns.Add("الكمية المباعة")
- LV.Columns.Add("سعر المبيع")
- LV.Columns.Add("ربح القطعة")
Universal Accounting Manager - StoreCat.Designer.vb
StoreCat.Designer.vb
- <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
- Partial Class StoreCat
- Inherits System.Windows.Forms.UserControl
- 'UserControl overrides dispose to clean up the component list.
- <System.Diagnostics.DebuggerNonUserCode()> _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- MyBase.Dispose(disposing)
- End Sub
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> _
- Private Sub InitializeComponent()
- Me.components = New System.ComponentModel.Container()
- Me.ProductCancleBTN = New System.Windows.Forms.Button()
- Me.RenameStoreBTN = New System.Windows.Forms.Button()
- Me.ProductNameLBL = New System.Windows.Forms.Label()
- Me.CNameTXT = New System.Windows.Forms.ComboBox()
Universal Accounting Manager - StartUp.vb
StartUp.vb
- Public Class StartUp
- 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 SenderName As Object
- Dim TabCount As Integer = 0
- Dim SelectedTab As String = ""
- Private Sub StartUp_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click
- MainView.GetInstance.HideSubPic()
- If All.GetInstance.Visible = True Then
- OpenNewTab(All.GetInstance)
- CloseTabs()
- End If
- End Sub
- Private Sub StartUp_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
Universal Accounting Manager - StartUp.Designer.vb
StartUp.Designer.vb
- <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
- Partial Class StartUp
- Inherits System.Windows.Forms.Form
- 'Form overrides dispose to clean up the component list.
- <System.Diagnostics.DebuggerNonUserCode()> _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- MyBase.Dispose(disposing)
- End Sub
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> _
- Private Sub InitializeComponent()
- Me.components = New System.ComponentModel.Container()
- Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(StartUp))
- Me.UpDockLBL = New System.Windows.Forms.Label()
- Me.DownDockLBL = New System.Windows.Forms.Label()
Universal Accounting Manager - Shortcuts.vb
Shortcuts.vb
- Public Class Shortcuts
- Private Shared PanelInstance As Shortcuts
- Public Shared Function GetInstance() As Shortcuts
- If (PanelInstance Is Nothing) Then
- PanelInstance = New Shortcuts
- End If
- Return PanelInstance
- End Function
- Private Sub Shortcuts_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- AddHandler AccountingPIC.MouseEnter, AddressOf StartUp.PicMouseEnter
- AddHandler AccountingPIC.MouseLeave, AddressOf StartUp.PicMouseLeave
- AddHandler AccountingPIC.MouseDown, AddressOf StartUp.PicMouseDown
- AddHandler AccountingPIC.MouseUp, AddressOf StartUp.PicMouseUp
- AddHandler SettingPIC.MouseEnter, AddressOf StartUp.PicMouseEnter
- AddHandler SettingPIC.MouseLeave, AddressOf StartUp.PicMouseLeave
- AddHandler SettingPIC.MouseDown, AddressOf StartUp.PicMouseDown
- AddHandler SettingPIC.MouseUp, AddressOf StartUp.PicMouseUp
- AddHandler ImportPIC.MouseEnter, AddressOf StartUp.PicMouseEnter
- AddHandler ImportPIC.MouseLeave, AddressOf StartUp.PicMouseLeave
- AddHandler ImportPIC.MouseDown, AddressOf StartUp.PicMouseDown
- AddHandler ImportPIC.MouseUp, AddressOf StartUp.PicMouseUp
- AddHandler ExportPIC.MouseEnter, AddressOf StartUp.PicMouseEnter
- AddHandler ExportPIC.MouseLeave, AddressOf StartUp.PicMouseLeave
- AddHandler ExportPIC.MouseDown, AddressOf StartUp.PicMouseDown
Universal Accounting Manager - Shortcuts.Designer.vb
Shortcuts.Designer.vb
- <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
- Partial Class Shortcuts
- Inherits System.Windows.Forms.UserControl
- 'UserControl overrides dispose to clean up the component list.
- <System.Diagnostics.DebuggerNonUserCode()> _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- MyBase.Dispose(disposing)
- End Sub
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> _
- Private Sub InitializeComponent()
- Me.Label9 = New System.Windows.Forms.Label()
- Me.Label8 = New System.Windows.Forms.Label()
- Me.Label7 = New System.Windows.Forms.Label()
Universal Accounting Manager - Setting.vb
Setting.vb
- Public Class Setting
- 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
- Private Shared SettingInstance As Setting
- Public Shared Function GetInstance() As Setting
- If (SettingInstance Is Nothing) Then
- SettingInstance = New Setting
- End If
- Return SettingInstance
- End Function
- Public Sub TestText()
- 'test values to add errors to Alerts :
Universal Accounting Manager - Setting.Designer.vb
Setting.Designer.vb
- <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
- Partial Class Setting
- Inherits System.Windows.Forms.UserControl
- 'UserControl overrides dispose to clean up the component list.
- <System.Diagnostics.DebuggerNonUserCode()> _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- MyBase.Dispose(disposing)
- End Sub
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> _
- Private Sub InitializeComponent()
- Me.ProductCancleBTN = New System.Windows.Forms.Button()
- Me.ProductShowBTN = New System.Windows.Forms.Button()
- Me.FooterTXT = New System.Windows.Forms.TextBox()
- Me.PSizeTXT = New System.Windows.Forms.ComboBox()
- Me.Label1 = New System.Windows.Forms.Label()
Universal Accounting Manager - Requests.vb
Requests.vb
- Public Class Requests
- 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 FItem As ListViewItem
- Private Shared RequestsInstance As Requests
- Public Shared Function GetInstance() As Requests
- If (RequestsInstance Is Nothing) Then
- RequestsInstance = New Requests
- End If
- Return RequestsInstance
- End Function
- Private Sub Requests_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- LV.Columns.Add("إسم السلعة")
- LV.Columns.Add("الكمية المطلوبة")
- LV.Columns.Add("الكمية المتوفرة")
Universal Accounting Manager - Requests.Designer.vb
Requests.Designer.vb
- <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
- Partial Class Requests
- Inherits System.Windows.Forms.UserControl
- 'UserControl overrides dispose to clean up the component list.
- <System.Diagnostics.DebuggerNonUserCode()> _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- MyBase.Dispose(disposing)
- End Sub
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> _
- Private Sub InitializeComponent()
- Me.components = New System.ComponentModel.Container()
- Me.ProductCancleBTN = New System.Windows.Forms.Button()
- Me.ProductShowBTN = New System.Windows.Forms.Button()
- Me.LV = New System.Windows.Forms.ListView()
Universal Accounting Manager - PublicDataBase.vb
PublicDataBase.vb
- Public Class PublicDataBase
- Public Function DataBaseReader(ByVal Name As String, ByVal ReadEncoding As System.Text.Encoding) As String
- On Error Resume Next
- My.Computer.FileSystem.ReadAllText(Name, ReadEncoding)
- End Function
- Public Function DataBaseWriter(ByVal Name As String, ByVal Value As String, ByVal WriteBoolean As Boolean, ByVal WriteEncoding As System.Text.Encoding) As String
- My.Computer.FileSystem.WriteAllText(Name, Value, WriteBoolean, WriteEncoding)
- End Function
- End Class
Universal Accounting Manager - PublicDataBase.Designer.vb
PublicDataBase.Designer.vb
- <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
- Partial Class PublicDataBase
- Inherits System.Windows.Forms.Form
- 'Form overrides dispose to clean up the component list.
- <System.Diagnostics.DebuggerNonUserCode()> _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- Try
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- Finally
- MyBase.Dispose(disposing)
- End Try
- End Sub
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> _
- Private Sub InitializeComponent()
- Me.SuspendLayout()
Universal Accounting Manager - NewSell.vb
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
Universal Accounting Manager - NewSell.Designer.vb
NewSell.Designer.vb
- <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
- Partial Class NewSell
- Inherits System.Windows.Forms.UserControl
- 'UserControl overrides dispose to clean up the component list.
- <System.Diagnostics.DebuggerNonUserCode()> _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- MyBase.Dispose(disposing)
- End Sub
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> _
- Private Sub InitializeComponent()
- Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(NewSell))
- Me.NewSellBarcodeLBL = New System.Windows.Forms.Label()
- Me.NewSellBarcodeTXT = New System.Windows.Forms.TextBox()
Universal Accounting Manager - NewProduct.vb
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
Universal Accounting Manager - NewProduct.Designer.vb
NewProduct.Designer.vb
- <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
- Partial Class NewProduct
- Inherits System.Windows.Forms.UserControl
- 'UserControl overrides dispose to clean up the component list.
- <System.Diagnostics.DebuggerNonUserCode()> _
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- MyBase.Dispose(disposing)
- End Sub
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> _
- Private Sub InitializeComponent()
- Me.ProductMountLBL = New System.Windows.Forms.Label()
Universal Accounting Manager - NewMerchant.vb
NewMerchant.vb
- Public Class NewMerchant
- 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 MaxList As Integer = 0
- Dim FromList As Integer = 0
- Dim ToList As Integer = 0
- Private Shared NewMerchantInstance As NewMerchant
- Public Shared Function GetInstance() As NewMerchant
- If (NewMerchantInstance Is Nothing) Then
- NewMerchantInstance = New NewMerchant
- End If
- Return NewMerchantInstance
- End Function
- Private Sub NewMerchant_Load(ByVal sender As System.Object, ByVal e As
Subscribe to:
Posts (Atom)