목차
(1) 출력 형식
(2) 처리조건
(3) 폼 디자인
(4) 속성 설정
(5) 이벤트 프로시저 작성(코딩)
(2) 처리조건
(3) 폼 디자인
(4) 속성 설정
(5) 이벤트 프로시저 작성(코딩)
본문내용
'+
Private Sub Command13_Click()
If Text3.Text = "" Then
Text3.Text = "+"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub
'-
Private Sub Command14_Click()
If Text3.Text = "" Then
Text3.Text = "-"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub
...
...
'×
Private Sub Command15_Click()
If Text3.Text = "" Then
Text3.Text = "×"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub
'/
Private Sub Command16_Click()
If Text3.Text = "" Then
Text3.Text = "/"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub
...
...
...
...
'=
Private Sub Command12_Click()
If Text3.Text = "+" Then
Text1.Text = Int(Text2.Text) + Int(Text1.Text)
Else
If Text3.Text = "-" Then
Text1.Text = Int(Text2.Text) - Int(Text1.Text)
Else
If Text3.Text = "×" Then
Text1.Text = Int(Text2.Text) * Int(Text1.Text)
Else
If Text3.Text = "/" Then
Text1.Text = Int(Text2.Text) / Int(Text1.Text)
Else
Text1.Text = "error"
End If
End If
End If
End If
Text2.Text = Clear
Text3.Text = Clear
End Sub
...
...
Private Sub Command13_Click()
If Text3.Text = "" Then
Text3.Text = "+"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub
'-
Private Sub Command14_Click()
If Text3.Text = "" Then
Text3.Text = "-"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub
...
...
'×
Private Sub Command15_Click()
If Text3.Text = "" Then
Text3.Text = "×"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub
'/
Private Sub Command16_Click()
If Text3.Text = "" Then
Text3.Text = "/"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub
...
...
...
...
'=
Private Sub Command12_Click()
If Text3.Text = "+" Then
Text1.Text = Int(Text2.Text) + Int(Text1.Text)
Else
If Text3.Text = "-" Then
Text1.Text = Int(Text2.Text) - Int(Text1.Text)
Else
If Text3.Text = "×" Then
Text1.Text = Int(Text2.Text) * Int(Text1.Text)
Else
If Text3.Text = "/" Then
Text1.Text = Int(Text2.Text) / Int(Text1.Text)
Else
Text1.Text = "error"
End If
End If
End If
End If
Text2.Text = Clear
Text3.Text = Clear
End Sub
...
...
키워드
추천자료
디지털시대의 정보시스템 입문
C로 구현하기
a book on c 2장 연습문제 풀이
Embedded System에서 Real-Time OS 구현 및 응용
c로 배우는 프로그래밍 기초 7장 이해점검 풀이
[과외]중학 기술 1-10 단원 종합 평가 05
C로 배우는 프로그래밍 기초(3장,4장,5장,6장,7장,8장,9장)이해점검 풀이~
컴퓨터의 발달 과정
비주얼 베이식의 기초1
[학습부진]수학과 학습부진아의 지도목적, 수학과 학습부진아의 요인, 수학과 학습부진아의 ...
[방송대] 객체지향(C++) 집합원소들을 연결리스트 이용하여 프로그래밍(2003)
컴퓨터공학 고급 c언어 기초
프로그래밍 언어 4장 레포트 답
매트랩 MATLAB
소개글