[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/samples FormsHello.cs,1.13,1.14
From: |
Richard Baumann <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/samples FormsHello.cs,1.13,1.14 |
Date: |
Sat, 12 Jul 2003 03:55:30 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/samples
In directory subversions:/tmp/cvs-serv20744/samples
Modified Files:
FormsHello.cs
Log Message:
Re-add explicit docking settings for scrollbars in samples/FormsHello.cs
(removed by commit of CheckBox example) and add a second toolbar (not
shown by default) which reveals some docking bugs.
Index: FormsHello.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/samples/FormsHello.cs,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** FormsHello.cs 11 Jul 2003 16:49:17 -0000 1.13
--- FormsHello.cs 12 Jul 2003 07:55:28 -0000 1.14
***************
*** 80,87 ****
--- 80,106 ----
Controls.Add(toolbar);
+ // Create another toolbar.
+ // This reveals some layout bugs, so
+ // the Controls.Add is commented out
+ // to keep the sample looking good
+ toolbar = new ToolBar();
+ toolbar.Buttons.Add("This one's");
+ tbb = new ToolBarButton();
+ tbb.Style = ToolBarButtonStyle.Separator;
+ toolbar.Buttons.Add(tbb);
+ tbb = new ToolBarButton("left docked.");
+ tbb.Style = ToolBarButtonStyle.DropDownButton;
+ toolbar.Buttons.Add(tbb);
+ toolbar.BorderStyle = BorderStyle.Fixed3D;
+ toolbar.Dock = DockStyle.Left;
+ //toolbar.DropDownArrows = false;
+ //Controls.Add(toolbar);
+
// Create a scrollbar control.
scrollbar = new HScrollBar();
+ scrollbar.Dock = DockStyle.Bottom;
Controls.Add(scrollbar);
scrollbar = new VScrollBar();
+ scrollbar.Dock = DockStyle.Right;
Controls.Add(scrollbar);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/samples FormsHello.cs,1.13,1.14,
Richard Baumann <address@hidden> <=