タイトル : Re: 再度、質問させていただきます。 投稿日 : 2008/03/03(Mon) 15:50 投稿者 : 琴
> Public Sub DrawMatrixCross(ByVal Col As Single, _ > ByVal Row As Single, _ > ByVal Cols As Single, _ > ByVal Rows As Single, _ > Optional ByVal Color As Variant = Empty) > With makeMatrixRect(Col, Row, Cols, Rows) > drawLine .Left, .Top, .Right, .Bottom, False, Color > drawLine .Left, .Top, .Right, .Bottom, True, Color > End With > > End Sub 線を引く際に座標を指定しているということは 「それが何番目のクロス線なのか」は判っていると思われます。 PictureBox上にLabelなりTextBoxなりを配置して > Left(vsGameTime.Value / 60, 1) - Game.Setting.QuarterMinutes の結果を入れてあげるってのはどうでしょう? |