- ©«¤l
- 57
- ¥DÃD
- 7
- ºëµØ
- 3
- ¿n¤À
- 60
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWSXP
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2011-4-9
|
¤W±ªºµ{¦¡½X§ÚÌ«©w¸q¤F¼ªkªº¤º¥~¿n©M¥[´îªk
ÁÙ¦³¤@Ó¤G¦V¶qªº§¨¨¤¤À¨É¤èªk
¦]¬°¦V¶q¨S¦³°£ªk©Ò¥H¤£¥Î©w¸q,¦Ó¼ªk¤À¬°¤º¥~¿n¤GºØ
©Ò¥H§ÚÌ¥i¥H¦b WindowsForm ¤W¼g¤U¥H¤Uµ{¦¡½X- Public Class Form1
- Private A As New Vector3D(2, 3, 2)
- Private B As New Vector3D(1, 2, -1)
- Private C As New Vector3D
- Private D As Double
- Private H As Double
- Private fnt As Font
- Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
- fnt = New Font("·s²Ó©úÅé", 30)
- C = A * B '¥~¿n
- D = A ^ B '¤ºåã
- H = Vector3D.AngleBetweenTwoVector(A, B) '§¨¨¤
- End Sub
- Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
- Dim g As Graphics = e.Graphics
- g.DrawString("¤G¦V¶q¥~¿n¬° " & C.ToString, fnt, New SolidBrush(Color.Black), 10, 100)
- g.DrawString("¤G¦V¶q¤º¿n¬° " & D.ToString, fnt, New SolidBrush(Color.Black), 10, 200)
- g.DrawString("¤G¦V¶q§¨¨¤¬° " & H.ToString & " «×", fnt, New SolidBrush(Color.Black), 10, 300)
- End Sub
- End Class
½Æ»s¥N½X °õ¦æµ²ªG¦p¤U |
|