-1

I add two shapes on top of each other from two different buttons. When I use the third button to change the stroke size of one of the shape, it also affects the other shape. This is weird because in my code (see AppBarButton_Click_1), the adjustment should only alter the FIRST shape that I add. Can someone explain to me what I did wrong?

Link to my code: My code (https://pastebin.com/NEVX8SB4)

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
  • 1
    Did you mean to provide some code in this question? Without seeing your code, it's very difficult to provide a helpful answer. Please see https://stackoverflow.com/help/how-to-ask – ethan.roday Mar 27 '18 at 22:13
  • yes, I put a pastebin url there if you click "My code" –  Mar 28 '18 at 13:26
  • 1
    Thank you for adding a link, but that's only minimally helpful for a couple of reasons. First, links tend to expire so, for the benefit of future users, it's recommended that you put your code _in_ the question. Second, it's unreasonable to expect someone to dig through 150 lines of code to debug your problem for you. If you provide a [MCVE](https://stackoverflow.com/help/mcve), explain the debugging steps you've already taken, and clearly point out where you're stuck, chances are much better that your question will be answered. – ethan.roday Mar 28 '18 at 15:26
  • 1
    I'm sorry I'm new to this forum (and programming in general). Thank you you for your input. I will keep that in mind for sure! :) –  Mar 28 '18 at 16:52
  • No worries; it's understandable! It can be difficult to ask a good question the first time, especially when you're new to programming. – ethan.roday Mar 28 '18 at 16:59

1 Answers1

1

This is a known bug that should be fixed in the next major Windows update.

Duncan Lawler
  • 1,772
  • 8
  • 13