public VeAbstract(Canvas canvas, ThuocTinhVe ttv) { MyCanvas = canvas; adnrLayer = AdornerLayer.GetAdornerLayer(canvas); thuocTinhVe = ttv; }
public VeHinh(Canvas canvas, ThuocTinhVe ttv, Tools tool) : base(canvas, ttv) { currTool = tool; }
private void MyCanvas_Loaded(object sender, RoutedEventArgs e) { adnrLayer = AdornerLayer.GetAdornerLayer(MyCanvas); ttv = new ThuocTinhVe() { }; }