Курсовая работа: Программирование в Бейсике
arStayAbsciss(Mis, Combo4.ListCount) = Str$(X - w): arStayOrdinata(Mis, Combo4.ListCount) = (Y - w)
arStayName(Mis, Combo4.ListCount) = Text4.Text
Me.Combo4.AddItem arStayName(Mis, Combo4.ListCount)
Me.Text4.Text = ""
End If
Else
Exit Sub
End If
End Sub
Private Sub Picture2_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Combo7.Enabled = True
aa = aa + 1
Combo7.AddItem Str$(X) + "," + Str$(Y)
nama(LinesCount - 1, aa - 1) = Str$(aa - 1)
If aa <> 1 Then
Me.Picture2.Line -(X, Y)
Command13.Enabled = True
Else
Me.Picture2.PSet (X, Y)
End If
x0 = X: y0 = Y
End Sub
Private Sub Text4_Change()
Do_Do = True
End Sub
Private Sub Text9_Change()
Command16.Enabled = True
End Sub
Form2