Курсовая работа: Программирование в Бейсике
Image1(i).Picture = LoadPicture("c:\ Курсовая моя\Иконки\Blue Bus.ico")
Next i
Me.Frame1.Visible = True
Me.Label2.Visible = True
Mi = Mis
Mis = Combo1.ListIndex
Me.Picture1.Visible = True
Me.Label9.Visible = True
arBusCount(Combo1.ListIndex) = 0
arStayCount(Combo1.ListIndex) = 0
If Len(Dir("c:\Êóðñîâàÿ ìîÿ\" + Combo1.List(Mis) + ".txt")) = 0 Then
MsgBox " Файл маршрутов не найден!!!" + vbCrLf + _
"Ïðîâåðüòå åãî íàëè÷èå : 'c:\Êóðñîâàÿ ìîÿ\" + Combo1.List(Mis) + ".txt'"
Combo1.ListIndex = Mi
Exit Sub
Else
Work_With_Files
End If
Picture1.Cls
For i = 1 To 35
Me.Image2(i).Visible = False
Me.Label14(i).Visible = False
Next i
Me.Picture1.PSet (arStayAbsciss(Mis, 0), arStayOrdinata(Mis, 0))
w = Me.Image2(0).Width / 2
Me.Image2(0).Move arStayAbsciss(Mis, 0) - w, arStayOrdinata(Mis, 0) - w
Me.Label14(0).Move Image2(0).Left + 2 * w, Image2(0).Top
Me.Label14(0).Caption = arStayName(Mis, 0)
For i = 0 To (arStayCount(Mis) - 1)