C
C#16mo ago
automo.

❔ Need Help Making Button

So far, I've been trying to make a Sign in/Sign up screen that you can log in and register to. My goal is basically just to get the buttons for Login And Register to work if you'd like the source to try to help me send a dm. Any help is appreciated
14 Replies
The Fog from Human Resources
As far as ik you can just attach an event handler to the Button and then grab the values from the input boxes
automo.
automo.OP16mo ago
Huh 😭 Sorry, this is my first time making something with c#
The Fog from Human Resources
Ah What framework are you using
automo.
automo.OP16mo ago
Hold on .Net You still here? @fabiogaming
The Fog from Human Resources
yes yes but what project type specifically cause dotnet has stuff like MAOUI or Xamarin or WPF
automo.
automo.OP16mo ago
Oh WPF
The Fog from Human Resources
On the button you can have a Click attribute that describes your event handler <Button Click="myFunction" >
automo.
automo.OP16mo ago
Can you vc so you can show me what to do?
The Fog from Human Resources
I can't vc
automo.
automo.OP16mo ago
Yikes Okay <Grid> <Border BorderBrush="White" BorderThickness="2" CornerRadius="10" Background="Transparent" Margin="44,363,277,-189"> <Label FontSize="20" Foreground="White" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Margin="0,-2,0,2" HorizontalAlignment="Center"> Login </Label> </Border> </Grid> so this is what I have as the login thing
automo.
automo.OP16mo ago
automo.
automo.OP16mo ago
I also have this when I right click the box
Arch Leaders
Arch Leaders16mo ago
Use a Button control, not a Label; then bind to Click or Command
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server