Example #1
0
 private void MainWindow_Resize(object sender, EventArgs e)
 {
     MyGrid.Children.Clear();
     GridTool.Draw(MyGrid);
     DrawPath(MyGrid);
     MyCircle.Children.Clear();
     GridTool.Paint(MyCircle);
 }
Example #2
0
 private void OnDrawPath(string msg, object extra = null)
 {
     MyGrid.Children.Clear();
     GridTool.Draw(MyGrid);
     DrawPath(MyGrid);
     MyCircle.Children.Clear();
     GridTool.Paint(MyCircle);
 }