Activity YearView

by benbun

Downloads: 10,274 (9) • Reviews: 5

Version:

Deprecated

Updated:

Nov 15, 2011

Exception when Activities have the same start time

Exception when Activities have the same start time

Postby gerhard » Thu Aug 07, 2008 5:27 am

When I set Category to My Friends Activities (where I have courses etc), I get the Exception below. I do have some activities starting at the same date and time there.
(no big deal, but as this in development I thought I would report it)

Previously reported here: http://www.zonefivesoftware.com/SportTr ... php?t=3760
************** Exception Text **************
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at BENBUN.Controls.YearPlan.AddMarkedDate(DateTime date, Color activityColor, IActivity activity)
at BENBUN.Views.BBBS_YearPlanView.addByCategory()
at BENBUN.Views.BBBS_YearPlanView.popupCategory_ItemSelected(Object sender, ItemSelectedEventArgs e)
at ZoneFiveSoftware.Common.Visuals.TreeListPopup.OnItemSelected(ItemSelectedEventArgs e)
at ZoneFiveSoftware.Common.Visuals.TreeListPopup.tree_SelectedChanged(Object sender, EventArgs e)
at ZoneFiveSoftware.Common.Visuals.TreeList.OnSelectedChanged()
at ZoneFiveSoftware.Common.Visuals.TreeList.set_Selected(IList value)
at ZoneFiveSoftware.Common.Visuals.TreeList.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
gerhard
Contributor!
Contributor!
 
Posts: 1798
Joined: Mon Nov 27, 2006 7:07 pm
Location: Sweden

Return to Activity YearView

Who is online

Users browsing this forum: No registered users and 2 guests