public PlantaZapatas()
 {
     InitializeComponent();
     CanvasZapatas.Xw = (float)this.Width - 30f;
     CanvasZapatas.Yh = (float)this.Height - 30f;
     CanvasZapatas.DibujarPlantas();
 }
 private void Window_StateChanged(object sender, System.EventArgs e)
 {
     CanvasZapatas.Xw = (float)this.Width - 30f;
     CanvasZapatas.Yh = (float)this.Height - 30f;
     CanvasZapatas.DibujarPlantas();
 }
 private void DrawingZapatas_SizeChanged(object sender, SizeChangedEventArgs e)
 {
     CanvasZapatas.Xw = (float)this.Width - 30f;
     CanvasZapatas.Yh = (float)this.Height - 30f;
     CanvasZapatas.DibujarPlantas();
 }