+ 1
Can i add button with a function in c#?
Please tell me code for how to add button in c# which should perform a specified activity when clicked please help!
5 odpowiedzi
+ 4
if you want more links then search using Search bar
https://www.sololearn.com/discuss/2240146/?ref=app
https://www.sololearn.com/discuss/197008/?ref=app
https://www.sololearn.com/discuss/364928/?ref=app
https://www.sololearn.com/discuss/786140/?ref=app
https://www.sololearn.com/discuss/2041076/?ref=app
+ 4
You need GUI.
1) Select the Button from the gui components(drag and drop)
2) give it an ID to make it later functional using c# codes.
3) Now go to your mainActivity.cs
and call that button gui element using the ID that you've given in step 2.
edit: call that gui button with its ID and put a onclick function on it
+ 3
GUI stands for Graphical User Interface.
So GUI are those Button, Slider etc that we see in our mobile apps everyday.
Yes, you will be needing an IDE for dragging and dropping a GUI components.
+ 2
RKK what is GUI is it an IDE
+ 2
RKK Thanks for help i'll check