public MoTaFloyd(DuongThangCollection _duongcoll, DiemCollection _diemcoll, bool _cohuong)
 {
     CoHuong = _cohuong;
     duongColl = _duongcoll;
     diemColl = _diemcoll;
     InitializeComponent();
 }
 public MoTaDijkstra(DiemCollection _diemcoll, DuongThangCollection _duongthangcoll,bool _cohuong)
 {
     diemColl = _diemcoll;
     duongColl = _duongthangcoll;
     CoHuong = _cohuong;
     MaTranTrongSo = new int[diemColl.Count, diemColl.Count];
     InitializeComponent();
 }
예제 #3
0
 public SuaDuong(string _diemdau,string _diemcuoi,int _chieudai,DuongThangCollection _duongcoll)
 {
     InitializeComponent();
     diemdau = _diemdau;
     diemcuoi = _diemcuoi;
     chieudai = _chieudai;
     ChieuDaiTextBox.Text = chieudai.ToString();
     duongcoll = _duongcoll;
 }