C
C#8mo ago
Nathan ∀

help im a beginner in wpf and i have urgent deadline

so i have like a homework and exam next week, but for now i just ask for 1 thing, how to make a calculator, like i know how to pu the buttons, textbox and etc, but idk how to code and make it works, like where should i code, and how, idk the page or which file i should code or make the program, the teacher is so sudden by giving us this kind of homework and exam. can somebody help me? like what or how to code and make a calculator in wpf
9 Replies
MODiX
MODiX8mo ago
Please don't upload any potentially harmful files @Zlatan, your message has been removed
Nefario
Nefario8mo ago
well i mean if you know how to make butto,text box and etc. you pretty much can code.... so i dont know where the problem is
Nathan ∀
Nathan ∀OP8mo ago
the teacher gave me the example, like this, but idk how to make it and where to code in the wpf, which file is which, im really a beginner in this
No description
Nathan ∀
Nathan ∀OP8mo ago
no its just adding an element that is already available in visual studio toolbox, but the button itself have no use with no code, and i rlly dont know what to do
Nefario
Nefario8mo ago
Simple Calculator Using WPF In C#
This blog will show you how you can design a simple calculator in WPF using C#.
Nefario
Nefario8mo ago
just follow that and you good to go :catpog:
jcotton42
jcotton428mo ago
@Nefario turning in an article you found online for your assignment is a great way to get a zero (or worse) for plagiarism besides, that's way overkill I doubt they've been taught about resources, or brushes and for all that, the article's code is terrible anyhow, it's just using margins for the controls not even a grid @Zlatan don't use that article what part of the assignment are you actually stuck on?
Nefario
Nefario8mo ago
ah yes, you were right...
Nathan ∀
Nathan ∀OP8mo ago
actually there are 3 kinds, but i think thats too much to ask, my first homework with deadline today is like this, when u press the go left, the North become ur left, the E will be on the top and W below u and vice versa, my 2nd homework is making a calculator like i show above, and for the last is like a 4 digit password lock, with the text box shown is 4 symbols of * and i need to input the correct pin, if im wrong it will show an error message and it will restart with all 4 digits back to * symbol.
No description
Want results from more Discord servers?
Add your server