c# - textEntry.Text output is Gtk.Entry (mono) -


I try to get the text of an entry with this code:

  This.myEntry .text ();  

I have also tried:

  this.myEntry.Text.ToString (); This.myEntry.ToString ();  

But what I get is Gtk.Entry and not text from the login. How can I fix this?

I think you should use

string text = This.myEntry.Text;


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -