Interface in C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Interface in C#

please someone help me to do the buttons(code)of an interface in c# such as close, enlarge button, …

23rd Oct 2021, 8:33 PM
Samira Moussa
Samira Moussa - avatar
3 Answers
+ 1
please explain yourself a bit more. What do you need to do ? interface Button { void action(); // interface method (does not have a body) } Are you looking for something like this. Now the close button can implement is closing action in the action method and the enlarge button can implement a enlarging action in the action method. Where is the size, color, text of the button defined ?
24th Oct 2021, 7:03 PM
sneeze
sneeze - avatar
0
Hello, I had uninstalled the app I'm sorry. yes I needed that, I had to find it. Thank u soo much for ur reply. now I would have liked that you help me create a graph like the user chooses the number of vertices he wants to create a graph then do the theorems DFS, BFS, matrixes,… Sorry for my accent I use Google translation, I am French-speaking and I do not have a good command of English.
27th Nov 2021, 7:27 AM
Samira Moussa
Samira Moussa - avatar
0
I can help. But one question a the time and one step a the time. You cannot make a super mathematical c# application in a day. First question Winform or WPF ? Google translation works ok. I do not understand french.
30th Nov 2021, 7:45 PM
sneeze
sneeze - avatar