C
C#3mo ago
Zlatan

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
MODiX3mo ago
Please don't upload any potentially harmful files @Zlatan, your message has been removed
Nefario
Nefario3mo 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
Zlatan
Zlatan3mo 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
Zlatan
Zlatan3mo 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
Nefario3mo ago
Simple Calculator Using WPF In C#
This blog will show you how you can design a simple calculator in WPF using C#.
Nefario
Nefario3mo ago
just follow that and you good to go :catpog:
jcotton42
jcotton423mo 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
Nefario3mo ago
ah yes, you were right...
Zlatan
Zlatan3mo 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
More Posts
Migrating WSDL imports via ServiceDescriptionImporter from Framework to CoreI'm writing documentation website for a backwards compatible API. I'm migrating code from .NET Frame✅ How do i learn C#, as a Junior Frontend Developer who have used JavaScript and React, TailwindCSSHello internet strangers, I want to learn C#, Where is the best place for me to learn it, as a Juni✅ XmlReader generic MapperHello 👋 . I am trying to create generic mapper for my project, that is using XmlReader. All my XML Disable Blazor NavLinkIs there any way to disable a NavLink in Blazor? While my application is doing some long calculationAsp.net Login and SignupI have form where user can login or sign up but I need help with form saving the credentials to data✅ C# + raylib + freebsdHi All, I'm running FreeBSD 14 Release, dotnet 8.0 compiled from Ports and Raylib 5.0 downloaded f✅ Setting Foreign key as Primary Key (EF Core)I want to set a foreign key as my primary key in a link table im using. How would I do this in EF CoWinform my button to reset my picturebox and fill it in with a new generated image is not workinghttps://hatebin.com/cslhmvmnya - my code Lines 121-124 is the methos to reset the picturebox but ImVS Project config questions1. Is it bad to enable "Place solution and project in the same folder"? It sounds neater to me but w(Blazor) I'm having trouble accessing a variable inside a parent component.I'm trying to access a simple bool in a parent component that shows when my side bar has been collap