kz282
05-02-2010, 11:44 AM
I get this exception when I right click on the hands panel in a new HM Window. HM 1.10.06.
************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'HoldemManager.frmMainWindow' to type 'HoldemManager.frmMain3'.
at HoldemManager.ucAssociatedHands.a(Object A_0, EventArgs A_1)
at System.Windows.Forms.ToolStripDropDown.OnOpened(Ev entArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleC ore(Boolean visible)
at System.Windows.Forms.ContextMenuStrip.SetVisibleCo re(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Contro l control, Point position)
at System.Windows.Forms.ContextMenuStrip.ShowInternal (Control source, Point location, Boolean isKeyboardActivated)
at System.Windows.Forms.Control.WmContextMenu(Message& m, Control sourceControl)
at System.Windows.Forms.Control.WmContextMenu(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Softelvdm.Controls.SoftelvdmUserControl.WndProc(Me ssage& m)
at Softelvdm.SftTreeNET.SftTree.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'HoldemManager.frmMainWindow' to type 'HoldemManager.frmMain3'.
at HoldemManager.ucAssociatedHands.a(Object A_0, EventArgs A_1)
at System.Windows.Forms.ToolStripDropDown.OnOpened(Ev entArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleC ore(Boolean visible)
at System.Windows.Forms.ContextMenuStrip.SetVisibleCo re(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Contro l control, Point position)
at System.Windows.Forms.ContextMenuStrip.ShowInternal (Control source, Point location, Boolean isKeyboardActivated)
at System.Windows.Forms.Control.WmContextMenu(Message& m, Control sourceControl)
at System.Windows.Forms.Control.WmContextMenu(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Softelvdm.Controls.SoftelvdmUserControl.WndProc(Me ssage& m)
at Softelvdm.SftTreeNET.SftTree.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)