Hi, there!
> I created a WinForms app in Linux, thinking it would work flawlessly
> in Windows... However, it does only work right (as created) with Mono for
> Windows,
> not with .NET in windows. The calendar looks bad, it appears duplicated, and
> if you click > in the next or last arrows, then it always advances abuot four
> months.
It seems there are no ideas about this strange behaviour, so I will
post some code:
==
// Prepare calendar
this.calCalendar = new MonthCalendar();
this.calCalendar.Dock = DockStyle.Left;
// Prepare the list of events
this.grdEventsList = new DataGridView();
this.grdEventsList.Dock = DockStyle.Fill;
// Put it together
this.pnlInfo = new Panel();
this.pnlInfo.SuspendLayout();
this.pnlInfo.Dock = DockStyle.Fill;
this.pnlInfo.Controls.Add( this.grdEventsList );
this.pnlInfo.Controls.Add( this.calCalendar );
// Add all to the UI
this.Menu = this.mMain;
this.Controls.Add( pnlInfo );
this.Controls.Add( this.stbStatus );
==
This way works on mono (both linux and windows, but it shows odd in Windows
.NET)... Is anything wrong with this approach?
Thanks,
--
Baltasar ([email protected] http://baltasarq.info/)
_______________________________________________
Mono-winforms-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list