Курсовая работа: Программирование в Бейсике
Combo2.AddItem arBusNumber(Mis, i)
Next i
For i = 0 To 35
Image1(i).Picture = LoadPicture("c:\Курсоваямоя\Иконки\Icon2.ico")
Next i
Picture1.Cls
For i = 1 To 35
Me.Image1(i).Visible = False
Me.Label14(i).Visible = False
Next i
Me.Picture1.PSet (arStayAbsciss(Mis, 0), arStayOrdinata(Mis, 0))
w = Me.Image1(0).Width / 2
Me.Image1(0).Move arStayAbsciss(Mis, 0) - w, arStayOrdinata(Mis, 0) - w
Me.Label14(0).Move Image1(0).Left + 2 * w, Image1(0).Top
Me.Label14(0).Caption = arStayName(Mis, 0)
For i = 0 To (arStayCount(Mis) - 1)
Me.Picture1.Line -(arStayAbsciss(Mis, i), arStayOrdinata(Mis, i))
Me.Image1(i).Move arStayAbsciss(Mis, i) - w, arStayOrdinata(Mis, i) - w
Me.Image1(i).Visible = True
Me.Label14(i).Visible = True
Me.Label14(i).Move Image1(i).Left + 2 * w, Image1(i).Top
Me.Label14(i).Caption = arStayName(Mis, i)
Me.Combo4.AddItem arStayName(Mis, i)
Next i
End Sub
Private Sub Combo2_Click()
DooM = False
Text2.Enabled = True: Text3.Enabled = True
Me.Command8.Enabled = True