diff --git a/begininvoke/swf-begininvoke.cs b/begininvoke/swf-begininvoke.cs index eb6b34c..92696b1 100644 --- a/begininvoke/swf-begininvoke.cs +++ b/begininvoke/swf-begininvoke.cs @@ -21,6 +21,8 @@ namespace System.Windows.Forms { public BeginInvokeDemo () { label = new Label (); + label.Dock = DockStyle.Fill; + label.TextAlign = ContentAlignment.MiddleCenter; label.Text = DateTime.Now.ToLongTimeString (); Controls.Add (label); }