Курсовая работа: Программирование в Бейсике
Close 1
i = 0
Open "c:\ Курсовая моя\Свободные автобусы.txt" ForInputAs 3
Do While Not EOF(3)
Input #3, arFreeBuses(i)
Combo5.AddItem arFreeBuses(i)
i = i + 1
Loop
Close 3
End Sub
Private Sub Picture1_DragDrop(Source As Control, X As Single, Y As Single)
Source.Move X - mx, Y - my: Label14(disk).Move X - mx + w * 2, Y - my
arStayAbsciss(Mis, disk) = Str$(X - mx)
arStayOrdinata(Mis, disk) = Str$(Y - my)
e = 0
Boom = False
Command6_Click
End Sub
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Doomy Then
If Text4.Text = "" Then MsgBox "Напишитеназваниеостановки!!!": Exit Sub
If Do_Do = False Then
Exit Sub
Else
If Text4.Text = "" Then MsgBox " Напишите название остановки!!!": Exit Sub
Image1(Combo4.ListCount).Visible = True
Image1(Combo4.ListCount).Move X - w, Y - w
Me.Label14(Combo4.ListCount).Visible = True
Me.Label14(Combo4.ListCount).Move Image1(Combo4.ListCount).Left + 2 * w, Image1(Combo4.ListCount).Top