Exemplo n.º 1
0
        private void StartProcessing()
        {
            // thread process
            // thread ini akan melakukan proses algoritma

            Process.ProcessPath();

            delUpdateVisGraph DelUpdateVisGraph = new delUpdateVisGraph(VisualizeGraph);

            this.gViewer1.BeginInvoke(DelUpdateVisGraph, Process.GetVisualGraph());

            UpdateTextFromThread(Process.GetTextForTextBox2());

            locked = false; // turn off lock
        }
Exemplo n.º 2
0
        public void UpdateGraphFromThread(Microsoft.Msagl.Drawing.Graph visualGraph)
        {
            delUpdateVisGraph DelUpdateVisGraph = new delUpdateVisGraph(VisualizeGraph);

            this.gViewer1.BeginInvoke(DelUpdateVisGraph, visualGraph);
        }