Forum > Coding >

Need help with wpf

Posts: 4

Threads: 3

Joined: Nov, 2020

Reputation: 0

Posted

So my friend gave me the source of his exploit to study and i see images added with content control I'm not sure what that is or how to use it bc can someone tell me how to add images to it so I can add my own images? I'm new to this stuff 

  • 0

Posts: 594

Threads: 24

Joined: Sep, 2020

Reputation: 13

Replied

learn wpf first before looking at sources please

  • 0

| Discord (Updated): apppon#8358 | C++ Enthusiast | 

Posts: 673

Threads: 30

Joined: Aug, 2020

Reputation: 6

Replied

Open source viewer, Right click and click add and click folder. name the folder anything. now right click the folder and click add and click add existing file it will open up a openfiledialog and select ur file type to image then add it. to add it on ur xaml do

 

<Image Source="foldername/imagename.extension"/>

 

note: options will be grayed out while debugging

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )