-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrmMain.frm
159 lines (142 loc) · 4.04 KB
/
frmMain.frm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm frmMain
AutoShowChildren= 0 'False
BackColor = &H8000000C&
Caption = "Sales Agent"
ClientHeight = 10260
ClientLeft = 165
ClientTop = 810
ClientWidth = 16695
LinkTopic = "MDIForm1"
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin MSComctlLib.StatusBar sbStatusBar
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 0
Top = 9885
Width = 16695
_ExtentX = 29448
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 3
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 23777
MinWidth = 1764
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
TextSave = "1:25 PM"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
TextSave = "2/21/2018"
EndProperty
EndProperty
End
Begin VB.Menu mnuFile
Caption = "&File"
Begin VB.Menu mnuCustomer
Caption = "&Manage Customers"
End
Begin VB.Menu mnuProviders
Caption = "Manage Su&ppliers "
End
Begin VB.Menu mnuExit
Caption = "&Exit"
End
End
Begin VB.Menu mnuOrders
Caption = "&Orders"
Begin VB.Menu mnuCreateOrderRequest
Caption = "Create Order"
End
Begin VB.Menu mnuOrderRequestsApproval
Caption = "Create Invoice"
End
Begin VB.Menu lExit2
Caption = "-"
End
Begin VB.Menu mnuCreateOrderReception
Caption = "Add Stock Order"
End
Begin VB.Menu mnuOrderReceptionsApproval
Caption = "Add Stock to Inventory"
End
End
Begin VB.Menu mnuMainInventory
Caption = "&Inventory"
Begin VB.Menu mnuAddStockManually
Caption = "Inventory Update"
End
Begin VB.Menu mnuAdjustStockManually
Caption = "Inventory Adjust"
End
End
Begin VB.Menu mnuAccounts
Caption = "&Maintenance"
Begin VB.Menu mnuProducts
Caption = "Manage Products"
End
Begin VB.Menu mnuSecurity
Caption = "Manage Users"
End
End
Begin VB.Menu mnuHelp
Caption = "&Help"
Begin VB.Menu mnuAbout
Caption = "&About"
End
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub MDIForm_Load()
frmSplash.Show vbModal
frmOrderRequest.Show
End Sub
Private Sub mnuAbout_Click()
frmAbout.Show vbModal, Me
End Sub
Private Sub mnuAddStockManually_Click()
frmAddStockManual.Show
End Sub
Private Sub mnuAdjustStockManually_Click()
frmAdjustStockManual.Show
End Sub
Private Sub mnuCreateOrderReception_Click()
frmOrderReception.Show
End Sub
Private Sub mnuCreateOrderRequest_Click()
frmOrderRequest.Show
End Sub
Private Sub mnuCustomer_Click()
frmCustomers.Show vbModal
frmCustomers.InitForm
End Sub
Private Sub mnuExit_Click()
Unload Me
End Sub
Private Sub mnuOrderReceptionsApproval_Click()
frmReceptionApproval.Show
End Sub
Private Sub mnuOrderRequestsApproval_Click()
frmRequestApproval.Show
End Sub
Private Sub mnuProducts_Click()
frmProducts.Show vbModal
End Sub
Private Sub mnuProviders_Click()
frmProviders.Show vbModal
End Sub
Private Sub mnuSecurity_Click()
frmUsersManage.Show
End Sub