Ejemplo n.º 1
0
        private void btnThemDinh_Click(object sender, EventArgs e)
        {
            FrmDijkstraThemDinh form = new FrmDijkstraThemDinh();

            form.ShowDialog();
            Loadz();
        }
Ejemplo n.º 2
0
        private void ThemDinhTaiViTri_Click(object sender, EventArgs e)
        {
            int tdx = panelMain.PointToClient(MousePosition).X;
            int tdy = panelMain.PointToClient(MousePosition).Y;
            FrmDijkstraThemDinh form = new FrmDijkstraThemDinh(tdx, tdy);

            form.ShowDialog();
            Loadz();
        }