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