[Mono-winforms-list] MWF broken?

Paul paul at all-the-johnsons.co.uk
Sat Aug 27 05:53:35 EDT 2005


Code below worked prior to the big update on cairo/libgdiplus - now it's
dead and recompiling makes no difference.

Is MWF broken? I have done a make distclean on the modules I use
(mono/mcs, gtk-sharp, libgdiplus, monodoc, monodevelop,
gtksourceview-sharp & gtkmozembed-sharp) so I'd assume everything was
fine on that score



using System;
using System.Drawing;
using System.Windows.Forms;

public class Form1:Form
  private System.Windows.Forms.DateTimePicker dtp;
  public Form1()
  private void InitialiseComponent()
    this.dtp = new System.Windows.Forms.DateTimePicker();    

    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.Name = "Form1";
    this.Text = "Testing 1..2..3";
    this.Load += new System.EventHandler(this.Form1_Load);
  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20050827/d9a9add9/attachment.bin

More information about the Mono-winforms-list mailing list