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 (<[email protected]>)
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  -  [email protected]
> http://lists.dot.net/mailman/listinfo/gtk-sharp-list
>
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.dot.net/mailman/listinfo/gtk-sharp-list

Reply via email to