[Gtk-sharp-list] Fwd: Re: Equivalent to Windows.Forms DateTimePicker
Jacek Rużyczka
stacheldraht at interia.pl
Sun Sep 5 15:20:58 EDT 2010
Am Sonntag 05 September 2010 14:06:26 schrieben Sie:
> Yes I do that, exactly as following:
>
> public partial class frmDialog : Gtk.Dialog
> {
> HDateTime dtpDateTime; // The HollyWidgets date time picker
>
> public frmDialog()
> {
> this.Build();
> this.dtpDateTime = new HDateTime();
> this.vbox12.Add(dtpDateTime); // vbox12 is a VBox created by MonoDevelop
> designer that contains two slices, one with a HBox inside and the other
> left void }
> }
>
> Then I invoke it as:
>
> frmDialog _frmDialog = new frmDialog();
> _frmDialog.Run();
>
> But the vbox12 stays the same as in the designer, only the HBox inside the
> other slice void.
>
> Am I doing anything wrong here?
>
Invoke this.vbox12.ShowAll() after adding your widget. Sometimes this helps.
Regards
Jacek
----------------------------------------------------------------------
Sprawdz co masz zapisane w swoich dloniach!
>>> http://linkint.pl/f27eb
More information about the Gtk-sharp-list
mailing list