Hi, Can someone NOT using X11 (read Windows user) compile this up and see if you get a datetime picker. The code works under .NET and displays the picker correctly, but under X11, I don't get the picker. I'm wondering if it's an X11 bug.
TTFN
Paul
// datetime.cs
// mcs datetime.cs -r:System.Windows.Forms -r:System.Drawing
using System;
using System.Drawing;
using System.Windows.Forms;
public class Form1:Form
{
private System.Windows.Forms.GroupBox gb;
private System.Windows.Forms.DateTimePicker dtp;
public Form1()
{
InitialiseComponent();
}
private void InitialiseComponent()
{
this.gb = new System.Windows.Forms.GroupBox();
this.dtp = new System.Windows.Forms.DateTimePicker();
this.gb.Controls.Add(dtp);
this.gb.Location = new System.Drawing.Point(8, 8);
this.gb.Name = "groupbox";
this.gb.Size = new System.Drawing.Size(336, 104);
this.gb.Text = "a box";
this.dtp.Location = new System.Drawing.Point(8, 8);
this.dtp.Name = "date time picker";
this.dtp.Size = new System.Drawing.Size(288, 20);
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(350, 130);
this.Controls.Add(this.dtp);
this.Controls.Add(this.gb);
this.Name = "Form1";
this.Text = "Testing 1..2..3";
this.Load += new System.EventHandler(this.Form1_Load);
}
[STAThread]
static void Main()
{
Application.Run(new Form1());
}
private void Form1_Load(object s, System.EventArgs e)
{}
}
--
"A lot of football success is in the mind. You must believe you are the
best and then make sure that you are. In my time at Liverpool we always
said we had the best two teams on Merseyside, Liverpool and Liverpool
Reserves." - Bill Shankly
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Mono-winforms-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
