You are on page 1of 36

Private Sub bd_Click()

MDIForm1.Show
Form1.Hide
End Sub

Private Sub ex_Click()


End
End Sub

Private Sub Form_Load()


Form1.WindowState = 2
End Sub
Dim a As Integer
Dim b As Integer

Private Sub Command1_Click()


Form1.Hide
Form2.Show
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
End Sub

Private Sub Command2_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Show
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
End Sub

Private Sub Command3_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Show
Form7.Hide
Form8.Hide
Form9.Hide
End Sub

Private Sub Command4_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Show
Form9.Hide
End Sub

Private Sub ex_Click()


End
End Sub

Private Sub MDIForm_Load()


Timer1.Enabled = True
Timer2.Enabled = True
Timer3.Enabled = True
Timer4.Enabled = True
End Sub

Private Sub mm_Click()


Form1.Show
MDIForm1.Hide
End Sub

Private Sub Timer1_Timer()


Label13.Left = Label13.Left - 100
If Label13.Left <= 0 - Label13.Width Then
Label13.Left = Screen.Width
End If
End Sub

Private Sub Timer2_Timer()


Label12.Left = Label12.Left + 100

If Label12.Left = Screen.Width Then


Label12.Left = 0 - Label12.Width
End If
End Sub

Private Sub Timer3_Timer()


Label12.Visible = True
Label12.ForeColor = QBColor(Val(a))
Timer3.Enabled = True
Timer4.Enabled = True
a = Val(a) + 1
If Val(a) > 15 Then
a=1
End If
End Sub
Private Sub Timer4_Timer()
Label13.Visible = True
Label13.ForeColor = QBColor(Val(a))
Timer3.Enabled = True
Timer4.Enabled = True
a = Val(a) + 1
If Val(a) > 15 Then
a=1
End If
End Sub

Private Sub ad_Click()


Adodc1.Refresh
Adodc1.Recordset.AddNew
End Sub

Private Sub Command1_Click()


Text4.Enabled = True
Text5.Enabled = False
Command2.Visible = False
Command3.Visible = True
Command1.Visible = False
Command4.Visible = False
End Sub

Private Sub Command2_Click()


Text4.Enabled = False
Text5.Enabled = True
Command1.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = True
End Sub

Private Sub Command3_Click()


Command1.Visible = True
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Label6.Caption = Val(Label6.Caption) - Val(Text4.Text)
If Val(Label6.Caption) <= 0 Then
MsgBox "No Balance To Withdrawal ", vbOKOnly
End If
End Sub

Private Sub Command4_Click()


Command1.Visible = True
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Label6.Caption = Val(Label6.Caption) + Val(Text5.Text)
End Sub

Private Sub Form_Load()


Command1.Visible = True
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Form2.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""

End Sub

Private Sub ex_Click()


End
End Sub

Private Sub lp_Click()


Form1.Hide
Form2.Hide
Form3.Show
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
End Sub

Private Sub mm_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
MDIForm1.Show
End Sub

Private Sub sa_Click()


Adodc1.Recordset.Save

End Sub

Private Sub up_Click()


Adodc1.Refresh
Adodc1.Recordset.Update
Adodc1.Refresh
End Sub

Private Sub del_Click()


Adodc1.Refresh
Adodc1.Recordset.Delete

End Sub
Private Sub ad_Click()
Adodc2.Refresh
Adodc2.Recordset.AddNew
Form3.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.Visible = True
Text2.Visible = True
Text3.Visible = True
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label9.Visible = False
Label8.Visible = False
Label10.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = True
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub Command1_Click()


Text4.Text = Text1.Text
Text5.Text = Text2.Text
Text6.Text = Text3.Text
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Text9.Enabled = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
DataGrid1.Visible = False
DataGrid2.Visible = True
DataGrid1.Visible = False
Command2.Visible = True
Command4.Visible = True
End Sub

Private Sub Command2_Click()


Label1.Visible = False
Label2.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label9.Visible = False
Label10.Visible = False
Label11.Visible = False
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = True
Text9.Visible = False
Command3.Visible = True
Command2.Visible = False
Command4.Visible = False
Command5.Visible = False
End Sub
Private Sub Command3_Click()
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text9.Visible = False
Text7.Visible = True
Text8.Visible = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
Command3.Visible = False
Command2.Visible = True
Command4.Visible = True
Command5.Visible = False
Label9.Caption = Text8.Text
Label9.Enabled = False
Label10.Caption = 10 / 100 * Val(Text8.Text) + Val(Text8.Text)
Label11.Caption = Label10.Caption
End Sub

Private Sub Command4_Click()


Text9.Enabled = True
Label1.Visible = False
Label2.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label9.Visible = False
Label10.Visible = False
Label11.Visible = False
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = True
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = True
End Sub

Private Sub Command5_Click()


Text9.Enabled = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text9.Visible = False
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
Command4.Visible = True
Command5.Visible = False
Command2.Visible = True
Label11.Caption = Val(Label11.Caption) - Val(Text9.Text)
Label9.Caption = Text8.Text
End Sub

Private Sub Command6_Click()


Text4.Text = Text1.Text
Text5.Text = Text2.Text
Text6.Text = Text3.Text
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Text9.Enabled = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
DataGrid1.Visible = False
DataGrid2.Visible = True
DataGrid1.Visible = False
Command2.Visible = True
Command4.Visible = True
Command6.Visible = False
End Sub

Private Sub Form_Load()


Form3.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label9.Visible = False
Label8.Visible = False
Label10.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = False
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub ex_Click()


End
End Sub

Private Sub mm_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
MDIForm1.Show
End Sub

Private Sub sa_Click()


Adodc2.Recordset.Save

Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.Visible = True
Text2.Visible = True
Text3.Visible = True
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label10.Visible = False
Label9.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub up_Click()


Adodc2.Refresh
Adodc2.Recordset.Update
Adodc2.Refresh
End Sub

Private Sub del_Click()


Adodc2.Refresh
Adodc2.Recordset.Delete

End Sub

Private Sub ad_Click()


Adodc1.Refresh
Adodc1.Recordset.AddNew
End Sub
Private Sub Command1_Click()
Text4.Enabled = True
Text5.Enabled = False
Command2.Visible = False
Command3.Visible = True
Command1.Visible = False
Command4.Visible = False
End Sub

Private Sub Command2_Click()


Text4.Enabled = False
Text5.Enabled = True
Command1.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = True
End Sub

Private Sub Command3_Click()


Command1.Visible = True
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Label6.Caption = Val(Label6.Caption) - Val(Text4.Text)
If Val(Label6.Caption) <= 0 Then
MsgBox "No Balance To Withdrawal ", vbOKOnly
End If
End Sub

Private Sub Command4_Click()


Command1.Visible = True
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Label6.Caption = Val(Label6.Caption) + Val(Text5.Text)
End Sub

Private Sub del_Click()


Adodc1.Refresh
Adodc1.Recordset.Delete

End Sub

Private Sub ex_Click()


End
End Sub

Private Sub Form_Load()


Form4.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Command3.Visible = False
Command4.Visible = False
End Sub
Private Sub lp_Click()
Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Show
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
MDIForm1.Hide

End Sub

Private Sub mm_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
MDIForm1.Show
End Sub
Private Sub sa_Click()
Adodc1.Recordset.Save

End Sub

Private Sub up_Click()


Adodc1.Refresh
Adodc1.Recordset.Update
Adodc1.Refresh
End Sub
Private Sub ad_Click()
Adodc2.Refresh
Adodc2.Recordset.AddNew
Form3.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.Visible = True
Text2.Visible = True
Text3.Visible = True
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label9.Visible = False
Label8.Visible = False
Label10.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = True
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub Command1_Click()


Text4.Text = Text1.Text
Text5.Text = Text2.Text
Text6.Text = Text3.Text
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Text9.Enabled = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
DataGrid1.Visible = False
DataGrid2.Visible = True
DataGrid1.Visible = False
Command2.Visible = True
Command4.Visible = True
End Sub

Private Sub Command2_Click()


Label1.Visible = False
Label2.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label9.Visible = False
Label10.Visible = False
Label11.Visible = False
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = True
Text9.Visible = False
Command3.Visible = True
Command2.Visible = False
Command4.Visible = False
Command5.Visible = False
End Sub

Private Sub Command3_Click()


Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text9.Visible = False
Text7.Visible = True
Text8.Visible = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
Command3.Visible = False
Command2.Visible = True
Command4.Visible = True
Command5.Visible = False
Label9.Caption = Text8.Text
Label9.Enabled = False
Label10.Caption = 10 / 100 * Val(Text8.Text) + Val(Text8.Text)
Label11.Caption = Label10.Caption
End Sub

Private Sub Command4_Click()


Text9.Enabled = True
Label1.Visible = False
Label2.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label9.Visible = False
Label10.Visible = False
Label11.Visible = False
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = True
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = True
End Sub

Private Sub Command5_Click()


Text9.Enabled = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text9.Visible = False
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
Command4.Visible = True
Command5.Visible = False
Command2.Visible = True
Label11.Caption = Val(Label11.Caption) - Val(Text9.Text)
Label9.Caption = Text8.Text
End Sub

Private Sub Command6_Click()


Text4.Text = Text1.Text
Text5.Text = Text2.Text
Text6.Text = Text3.Text
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Text9.Enabled = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
DataGrid1.Visible = False
DataGrid2.Visible = True
DataGrid1.Visible = False
Command2.Visible = True
Command4.Visible = True
Command6.Visible = False
End Sub

Private Sub Form_Load()


Form5.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label9.Visible = False
Label8.Visible = False
Label10.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = False
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub ex_Click()


End
End Sub

Private Sub mm_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
MDIForm1.Show
End Sub

Private Sub sa_Click()


Adodc2.Recordset.Save

Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.Visible = True
Text2.Visible = True
Text3.Visible = True
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label10.Visible = False
Label9.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub
Private Sub up_Click()
Adodc2.Refresh
Adodc2.Recordset.Update
Adodc2.Refresh
End Sub

Private Sub del_Click()


Adodc2.Refresh
Adodc2.Recordset.Delete

End Sub

Private Sub ad_Click()


Adodc1.Refresh
Adodc1.Recordset.AddNew
End Sub
Private Sub Command1_Click()
Text4.Enabled = True
Text5.Enabled = False
Command2.Visible = False
Command3.Visible = True
Command1.Visible = False
Command4.Visible = False
End Sub

Private Sub Command2_Click()


Text4.Enabled = False
Text5.Enabled = True
Command1.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = True
End Sub

Private Sub Command3_Click()


Command1.Visible = True
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Label6.Caption = Val(Label6.Caption) - Val(Text4.Text)
If Val(Label6.Caption) <= 0 Then
MsgBox "No Balance To Withdrawal ", vbOKOnly
End If
End Sub

Private Sub Command4_Click()


Command1.Visible = True
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Label6.Caption = Val(Label6.Caption) + Val(Text5.Text)
End Sub

Private Sub del_Click()


Adodc1.Refresh
Adodc1.Recordset.Delete

End Sub

Private Sub Form_Load()


Form6.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Command3.Visible = False
Command4.Visible = False
End Sub

Private Sub ex_Click()


End
End Sub
Private Sub lp_Click()
Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Show
Form8.Hide
Form9.Hide
End Sub

Private Sub mm_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
MDIForm1.Show
End Sub
Private Sub sa_Click()
Adodc1.Recordset.Save

End Sub

Private Sub up_Click()


Adodc1.Refresh
Adodc1.Recordset.Update
Adodc1.Refresh
End Sub
Private Sub ad_Click()
Adodc2.Refresh
Adodc2.Recordset.AddNew
Form3.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.Visible = True
Text2.Visible = True
Text3.Visible = True
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label9.Visible = False
Label8.Visible = False
Label10.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = True
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub Command1_Click()


Text4.Text = Text1.Text
Text5.Text = Text2.Text
Text6.Text = Text3.Text
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Text9.Enabled = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
DataGrid1.Visible = False
DataGrid2.Visible = True
DataGrid1.Visible = False
Command2.Visible = True
Command4.Visible = True
End Sub

Private Sub Command2_Click()


Label1.Visible = False
Label2.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label9.Visible = False
Label10.Visible = False
Label11.Visible = False
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = True
Text9.Visible = False
Command3.Visible = True
Command2.Visible = False
Command4.Visible = False
Command5.Visible = False
End Sub

Private Sub Command3_Click()


Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text9.Visible = False
Text7.Visible = True
Text8.Visible = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
Command3.Visible = False
Command2.Visible = True
Command4.Visible = True
Command5.Visible = False
Label9.Caption = Text8.Text
Label9.Enabled = False
Label10.Caption = 10 / 100 * Val(Text8.Text) + Val(Text8.Text)
Label11.Caption = Label10.Caption
End Sub

Private Sub Command4_Click()


Text9.Enabled = True
Label1.Visible = False
Label2.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label9.Visible = False
Label10.Visible = False
Label11.Visible = False
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = True
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = True
End Sub

Private Sub Command5_Click()


Text9.Enabled = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text9.Visible = False
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
Command4.Visible = True
Command5.Visible = False
Command2.Visible = True
Label11.Caption = Val(Label11.Caption) - Val(Text9.Text)
Label9.Caption = Text8.Text
End Sub

Private Sub Command6_Click()


Text4.Text = Text1.Text
Text5.Text = Text2.Text
Text6.Text = Text3.Text
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Text9.Enabled = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
DataGrid1.Visible = False
DataGrid2.Visible = True
DataGrid1.Visible = False
Command2.Visible = True
Command4.Visible = True
Command6.Visible = False
End Sub

Private Sub Form_Load()


Form7.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label9.Visible = False
Label8.Visible = False
Label10.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = False
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub ex_Click()


End
End Sub

Private Sub mm_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
MDIForm1.Show
End Sub

Private Sub sa_Click()


Adodc2.Recordset.Save

Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.Visible = True
Text2.Visible = True
Text3.Visible = True
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label10.Visible = False
Label9.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub up_Click()


Adodc2.Refresh
Adodc2.Recordset.Update
Adodc2.Refresh
End Sub

Private Sub del_Click()


Adodc2.Refresh
Adodc2.Recordset.Delete

End Sub

Private Sub ad_Click()


Adodc1.Refresh
Adodc1.Recordset.AddNew
End Sub
Private Sub Command1_Click()
Text4.Enabled = True
Text5.Enabled = False
Command2.Visible = False
Command3.Visible = True
Command1.Visible = False
Command4.Visible = False
End Sub

Private Sub Command2_Click()


Text4.Enabled = False
Text5.Enabled = True
Command1.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = True
End Sub

Private Sub Command3_Click()


Command1.Visible = True
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Label6.Caption = Val(Label6.Caption) - Val(Text4.Text)
If Val(Label6.Caption) <= 0 Then
MsgBox "No Balance To Withdrawal ", vbOKOnly
End If
End Sub

Private Sub Command4_Click()


Command1.Visible = True
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Label6.Caption = Val(Label6.Caption) + Val(Text5.Text)
End Sub

Private Sub del_Click()


Adodc1.Refresh
Adodc1.Recordset.Delete

End Sub

Private Sub Form_Load()


Form8.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Command3.Visible = False
Command4.Visible = False
End Sub

Private Sub ex_Click()


End
End Sub
Private Sub lp_Click()
Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Show
End Sub

Private Sub mm_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
MDIForm1.Show
End Sub

Private Sub sa_Click()


Adodc1.Recordset.Save

End Sub

Private Sub up_Click()


Adodc1.Refresh
Adodc1.Recordset.Update
Adodc1.Refresh
End Sub
Private Sub ad_Click()
Adodc2.Refresh
Adodc2.Recordset.AddNew
Form3.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.Visible = True
Text2.Visible = True
Text3.Visible = True
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label9.Visible = False
Label8.Visible = False
Label10.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = True
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub Command1_Click()


Text4.Text = Text1.Text
Text5.Text = Text2.Text
Text6.Text = Text3.Text
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Text9.Enabled = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
DataGrid1.Visible = False
DataGrid2.Visible = True
DataGrid1.Visible = False
Command2.Visible = True
Command4.Visible = True
End Sub

Private Sub Command2_Click()


Label1.Visible = False
Label2.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label9.Visible = False
Label10.Visible = False
Label11.Visible = False
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = True
Text9.Visible = False
Command3.Visible = True
Command2.Visible = False
Command4.Visible = False
Command5.Visible = False
End Sub
Private Sub Command3_Click()
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text9.Visible = False
Text7.Visible = True
Text8.Visible = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
Command3.Visible = False
Command2.Visible = True
Command4.Visible = True
Command5.Visible = False
Label9.Caption = Text8.Text
Label9.Enabled = False
Label10.Caption = 10 / 100 * Val(Text8.Text) + Val(Text8.Text)
Label11.Caption = Label10.Caption
End Sub

Private Sub Command4_Click()


Text9.Enabled = True
Label1.Visible = False
Label2.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label9.Visible = False
Label10.Visible = False
Label11.Visible = False
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = True
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = True
End Sub

Private Sub Command5_Click()


Text9.Enabled = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text9.Visible = False
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
Command4.Visible = True
Command5.Visible = False
Command2.Visible = True
Label11.Caption = Val(Label11.Caption) - Val(Text9.Text)
Label9.Caption = Text8.Text
End Sub

Private Sub Command6_Click()


Text4.Text = Text1.Text
Text5.Text = Text2.Text
Text6.Text = Text3.Text
Text1.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Text7.Visible = True
Text8.Visible = False
Text9.Visible = False
Text9.Enabled = False
Label1.Visible = True
Label2.Visible = True
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Label7.Visible = True
Label8.Visible = True
Label9.Visible = True
Label10.Visible = True
Label11.Visible = True
DataGrid1.Visible = False
DataGrid2.Visible = True
DataGrid1.Visible = False
Command2.Visible = True
Command4.Visible = True
Command6.Visible = False
End Sub

Private Sub Form_Load()


Form9.WindowState = 2
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label9.Visible = False
Label8.Visible = False
Label10.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = False
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub ex_Click()


End
End Sub

Private Sub mm_Click()


Form1.Hide
Form2.Hide
Form3.Hide
Form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
MDIForm1.Show
End Sub

Private Sub sa_Click()


Adodc2.Recordset.Save

Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.Visible = True
Text2.Visible = True
Text3.Visible = True
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Text8.Visible = False
Text9.Visible = False
Label4.Visible = False
Label5.Visible = False
Label6.Visible = False
Label7.Visible = False
Label8.Visible = False
Label10.Visible = False
Label9.Visible = False
Label11.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
DataGrid2.Visible = False
DataGrid1.Visible = True
End Sub

Private Sub up_Click()


Adodc2.Refresh
Adodc2.Recordset.Update
Adodc2.Refresh
End Sub

Private Sub del_Click()


Adodc2.Refresh
Adodc2.Recordset.Delete

End Sub

You might also like