❔ 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
As far as ik you can just attach an event handler to the Button and then grab the values from the input boxes
Huh 😭
Sorry, this is my first time making something with c#
Ah
What framework are you using
Hold on
.Net
You still here? @fabiogaming
yes
yes but what project type specifically
cause dotnet has stuff like MAOUI or Xamarin or WPF
Oh WPF
On the button you can have a Click attribute that describes your event handler
<Button Click="myFunction" >
Can you vc so you can show me what to do?
I can't vc
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
I also have this
when I right click the box
Use a
Button
control, not a Label
; then bind to Click
or Command
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.