[Gtk-sharp-list] Store GUI Output in Properties
Baltasar García Perez-Schofield
baltasarq at gmail.com
Wed Jan 11 11:54:01 UTC 2017
Hi, Sascha,
If you're using the GUI designer in MonoDevelop (I guess you're doing it
that way), then just change your code to:
protected void OnClicked (object sender, EventArgs args){
PublicationTitle = entry2.Text;
PlaceOfAction = combobox1.ActiveText;
DocType = combobox2.ActiveText;}
-- Baltasar
El mié., 11 ene. 2017 a las 12:52, Sascha Manns (<Sascha.Manns at mailbox.org>)
escribió:
> Hi Baltasar,
>
> sorry for my late answer.
>
> I've used your code in my MainWindow: Gtk.Window file.
>
> protected void OnClicked (object sender, EventArgs args){
> button1.Clicked += (o, e) =>
> {
> PublicationTitle = entry2.Text;
> PlaceOfAction = combobox1.ActiveText;
> DocType = combobox2.ActiveText;
> };}
>
> Actually after building the solution and running it, the GUI comes up and
> i can fiill in my data. After clicking on OK the program is already up, but
> does nothing else. The whole code of the little GUI is placed there:
> http://bit.ly/2j5P6tF.
>
> Greetings Sascha
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/gtk-sharp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170111/3c08c212/attachment.html>
More information about the Gtk-sharp-list
mailing list