public void DELETE_GRAPH() { mG = new MainGraph(graphCanvas, pInfo); pInfo.AddGraph(mG); pAction.AddGraph(mG); mG.printMatrixs(); }
public InputWeight(MainGraph mG, Point cl, Edge ed) { InitializeComponent(); mGraph = mG; click = cl; edge = ed; weight = edge.GetWeight(); ed.SetColor(Brushes.Red); mG.DrawGraph(); }
public PageDrawGraph() { InitializeComponent(); pInfo = new PageInformationAboutGraph(this); pAction = new PageActionWithGraph(this, pInfo); mG = new MainGraph(graphCanvas, pInfo); pInfo.AddGraph(mG); pAction.AddGraph(mG); FrameInfo.Navigate(pInfo); mG.printMatrixs(); }
public void AddGraph(MainGraph mg) { mG = mg; }