Escolar Documentos
Profissional Documentos
Cultura Documentos
'Nilgen Velazco
'Y00282080
Public Class bus_topo
Private Sub bus_topo_Load(sender As System.Object, e As System.EventArgs) Handles
MyBase.Load
End Sub
Private Sub Form1_Paint(ByVal sender As Object, ByVal e
System.Windows.Forms.PaintEventArgs) Handles Me.Paint
'BUS START
'Comp1
e.Graphics.DrawLine(Pens.Red, 50, 80, 50, 90) 'line
e.Graphics.DrawLine(Pens.Red, 50, 80, 85, 80) 'line
e.Graphics.DrawLine(Pens.Red, 55, 60, 55, 80) 'line
e.Graphics.DrawLine(Pens.Red, 55, 60, 80, 60) 'line
e.Graphics.DrawLine(Pens.Red, 50, 90, 85, 90) 'line
e.Graphics.DrawLine(Pens.Red, 60, 65, 60, 75) 'line
e.Graphics.DrawLine(Pens.Red, 60, 65, 75, 65) 'line
e.Graphics.DrawLine(Pens.Red, 60, 75, 75, 75) 'line
e.Graphics.DrawLine(Pens.Red, 75, 65, 75, 75) 'line
e.Graphics.DrawLine(Pens.Red, 80, 60, 80, 80) 'line
e.Graphics.DrawLine(Pens.Red, 85, 80, 85, 90) 'line
'Comp2
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
110,
110,
110,
115,
115,
120,
120,
80,
80,
90,
60,
60,
65,
65,
110,
145,
145,
115,
140,
120,
135,
90)
80)
90)
80)
60)
75)
65)
As
1
2
3
4
5
6
7
8
9
10
11
'line
'line
'line
'line
'line
'line
'line
1
2
5
3
4
6
7
1|Page
Topologa
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
120,
135,
140,
145,
75,
65,
60,
80,
135,
135,
140,
145,
75)
75)
80)
90)
'line
'line
'line
'line
8
9
10
11
'Comp3
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
170,
170,
170,
175,
175,
180,
180,
180,
195,
200,
205,
80,
80,
90,
60,
60,
65,
65,
75,
65,
60,
80,
170,
205,
205,
175,
200,
180,
195,
195,
195,
200,
205,
90)
80)
90)
80)
60)
75)
65)
75)
75)
80)
90)
'line
'line
'line
'line
'line
'line
'line
'line
'line
'line
'line
1
2
5
3
4
6
7
8
9
10
11
'Server
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
e.Graphics.DrawLine(Pens.Red,
115,
115,
115,
150,
130,
130,
140,
140,
185,
140,
145,
150,
'Connections
e.Graphics.DrawLine(Pens.Black,
e.Graphics.DrawLine(Pens.Black,
e.Graphics.DrawLine(Pens.Black,
e.Graphics.DrawLine(Pens.Black,
e.Graphics.DrawLine(Pens.Black,
115,
150,
150,
150,
145,
145,
185)
140)
185)
185)
145)
150)
'line
'line
'line
'line
'in
'in
1
2
3
4
'BUS END
'RING START
e.Graphics.DrawEllipse(Pens.Black, 300, 50, 200, 200) 'Ring
'CompW
e.Graphics.FillRectangle(Brushes.CadetBlue, 290, 100, 40, 35) 'fout
e.Graphics.DrawRectangle(Pens.Red, 290, 100, 40, 35) 'out
e.Graphics.FillRectangle(Brushes.Black, 295, 108, 30, 20) 'fin
e.Graphics.DrawRectangle(Pens.Red, 295, 108, 30, 20) 'in
e.Graphics.FillRectangle(Brushes.CadetBlue, 283, 135, 55, 15) 'fbase
e.Graphics.DrawRectangle(Pens.Red, 283, 135, 55, 15) 'base
'CompN
e.Graphics.FillRectangle(Brushes.CadetBlue, 380, 30, 40, 35) 'fout
e.Graphics.DrawRectangle(Pens.Red, 380, 30, 40, 35) 'out
e.Graphics.FillRectangle(Brushes.Black, 385, 38, 30, 20) 'fin
e.Graphics.DrawRectangle(Pens.Red, 385, 38, 30, 20) 'in
e.Graphics.FillRectangle(Brushes.CadetBlue, 373, 65, 55, 15) 'fbase
e.Graphics.DrawRectangle(Pens.Red, 373, 65, 55, 15) 'base
'CompS
e.Graphics.FillRectangle(Brushes.CadetBlue, 380, 200, 40, 35) 'fout
2|Page
Topologa
750,
630,
830,
680,
820,
'CompCENTER
e.Graphics.FillRectangle(Brushes.DeepSkyBlue, 730, 120, 40, 35) 'fout
e.Graphics.DrawRectangle(Pens.Red, 730, 120, 40, 35) 'out
e.Graphics.FillRectangle(Brushes.Chocolate, 735, 128, 30, 20) 'fin
e.Graphics.DrawRectangle(Pens.Red, 735, 128, 30, 20) 'in
e.Graphics.FillRectangle(Brushes.DeepSkyBlue, 723, 155, 55, 15) 'fbase
e.Graphics.DrawRectangle(Pens.Red, 723, 155, 55, 15) 'base
'CompN
e.Graphics.FillRectangle(Brushes.BlueViolet, 730, 20, 40, 35) 'fout
e.Graphics.DrawRectangle(Pens.Red, 730, 20, 40, 35) 'out
e.Graphics.FillRectangle(Brushes.Black, 735, 28, 30, 20) 'fin
e.Graphics.DrawRectangle(Pens.Red, 735, 28, 30, 20) 'in
e.Graphics.FillRectangle(Brushes.CadetBlue, 723, 55, 55, 15) 'fbase
e.Graphics.DrawRectangle(Pens.Red, 723, 55, 55, 15) 'base
'CompNW
e.Graphics.FillRectangle(Brushes.BlueViolet, 630, 75, 40, 35) 'fout
e.Graphics.DrawRectangle(Pens.Red, 630, 75, 40, 35) 'out
e.Graphics.FillRectangle(Brushes.Black, 635, 83, 30, 20) 'fin
e.Graphics.DrawRectangle(Pens.Red, 635, 83, 30, 20) 'in
e.Graphics.FillRectangle(Brushes.CadetBlue, 623, 110, 55, 15) 'fbase
e.Graphics.DrawRectangle(Pens.Red, 623, 110, 55, 15) 'base
'CompNE
e.Graphics.FillRectangle(Brushes.BlueViolet, 820, 75, 40, 35) 'fout
e.Graphics.DrawRectangle(Pens.Red, 820, 75, 40, 35) 'out
e.Graphics.FillRectangle(Brushes.Black, 825, 83, 30, 20) 'fin
e.Graphics.DrawRectangle(Pens.Red, 825, 83, 30, 20) 'in
e.Graphics.FillRectangle(Brushes.CadetBlue, 813, 110, 55, 15) 'fbase
3|Page
Topologa
4|Page