Hello ,
I know it’s not a mikrotik question but maybe you can help me
I have a code that is working great as a console (CMD)
now I wnat to make my code better and show it as a WindowsFormsApplication. (windows app)
is there a easy way to do it?
meaning take all the string\int i get in the console and copy them into the windows app?
Thanks ,
Sure.
Just create your UI, and place the code that interacts with the router within the appropriate event for the appropriate UI control.
E.g. have a button and a text box, do the action when the button is clicked, and within that same event, place the output in the text box.
You can of course put different pieces of the output into different UI controls and interact with the router on different events (including chaining together the modifications of one control with another interaction with the router), but the above example would be a good way to “Dip your toes in the pool” before you “dive deep”.
can you show me simple example?
I have try to do it - but it doesn’t work
it said
Severity Code Description Project File Line Suppression State
Error CS0103 The name 'mikrotik' does not exist in the current context WindowsFormsApplication1 C:\Users\Computer\Documents\Visual Studio 2015\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs 127 Active
why?