private void HienThiDoThi()
        {
            panelMain.Controls.Clear();
            FrmVeDoThi vedothi = new FrmVeDoThi(Data.Data.graph_FordBellman);

            vedothi.TopLevel = false;
            vedothi.Dock     = DockStyle.Fill;
            panelMain.Controls.Add(vedothi);
            vedothi.Show();
        }
Esempio n. 2
0
 private void HienThiDoThi()
 {
     try
     {
         DoThi dt = listDoThi[index];
         panelMain.Controls.Clear();
         FrmVeDoThi ve = new FrmVeDoThi(dt);
         ve.TopLevel = false;
         ve.Dock     = DockStyle.Fill;
         panelMain.Controls.Add(ve);
         ve.Show();
         //if (index == listDoThi.Count - 1) timer.Stop();
     }
     catch
     {
     }
 }