Error 1 Overload resolution failed because no accessible 'DrawLine' can be called without a narrowing conversion: 'Public Sub DrawLine(pen As System.Drawing.Pen, x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer)': Argument matching parameter 'y1' narrows from 'Double' to 'Integer'. 'Public Sub DrawLine(pen As System.Drawing.Pen, x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer)': Argument matching parameter 'y2' narrows from 'Double' to 'Integer'. 'Public Sub DrawLine(pen As System.Drawing.Pen, x1 As Single, y1 As Single, x2 As Single, y2 As Single)': Argument matching parameter 'y1' narrows from 'Double' to 'Single'. 'Public Sub DrawLine(pen As System.Drawing.Pen, x1 As Single, y1 As Single, x2 As Single, y2 As Single)': Argument matching parameter 'y2' narrows from 'Double' to 'Single'. C:\Documents and Settings\UDM\My Documents\Visual Studio 2008\Projects\DayView\DayView\Office12Renderer.vb 92 17 DayView Error 2 Class 'SelectionTool' must implement 'Property DayView() As DayView' for interface 'ITool'. Implementing property must have matching 'ReadOnly' or 'WriteOnly' specifiers. C:\Documents and Settings\UDM\My Documents\Visual Studio 2008\Projects\DayView\DayView\SelectionTool.vb 9 20 DayView Error 3 Class 'SelectionTool' must implement 'Sub MouseDown(e As System.Windows.Forms.MouseEventArgs)' for interface 'ITool'. C:\Documents and Settings\UDM\My Documents\Visual Studio 2008\Projects\DayView\DayView\SelectionTool.vb 9 20 DayView Error 4 Class 'SelectionTool' must implement 'Sub MouseMove(e As System.Windows.Forms.MouseEventArgs)' for interface 'ITool'. C:\Documents and Settings\UDM\My Documents\Visual Studio 2008\Projects\DayView\DayView\SelectionTool.vb 9 20 DayView Error 5 Class 'SelectionTool' must implement 'Sub MouseUp(e As System.Windows.Forms.MouseEventArgs)' for interface 'ITool'. C:\Documents and Settings\UDM\My Documents\Visual Studio 2008\Projects\DayView\DayView\SelectionTool.vb 9 20 DayView Error 6 Class 'SelectionTool' must implement 'Sub Reset()' for interface 'ITool'. C:\Documents and Settings\UDM\My Documents\Visual Studio 2008\Projects\DayView\DayView\SelectionTool.vb 9 20 DayView Error 7 'Mode' is already declared as 'Private mode As Mode' in this class. C:\Documents and Settings\UDM\My Documents\Visual Studio 2008\Projects\DayView\DayView\SelectionTool.vb 171 22 DayView
Please help with this because I am really stuck. Even if you don't want to help with the code, just let me know what I need to look for. I am attaching the original C# file that I found, and a zipped file with the 2 projects from my Projects folder. I don't know if it works that way for passing around what I have so far, but I have never posted a project like this.
Thanks everyone!
This post has been edited by CakeMaker: 03 September 2009 - 10:19 PM

New Topic/Question
Reply




MultiQuote



|