Click here to Skip to main content
15,890,882 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to handle OnMouseMove (NC_MOUSEMOVE) using C#? Pin
Henry Minute10-Apr-09 8:27
Henry Minute10-Apr-09 8:27 
GeneralRe: How to handle OnMouseMove (NC_MOUSEMOVE) using C#? Pin
Supra210-Apr-09 19:56
Supra210-Apr-09 19:56 
GeneralRe: How to handle OnMouseMove (NC_MOUSEMOVE) using C#? Pin
Henry Minute11-Apr-09 0:29
Henry Minute11-Apr-09 0:29 
AnswerRe: How to handle OnMouseMove (NC_MOUSEMOVE) using C#? Pin
Colin Angus Mackay10-Apr-09 8:31
Colin Angus Mackay10-Apr-09 8:31 
QuestionCan someone please tell me what is wrong with this List function? Pin
stonebergftw10-Apr-09 7:49
stonebergftw10-Apr-09 7:49 
AnswerRe: Can someone please tell me what is wrong with this List function? Pin
Colin Angus Mackay10-Apr-09 8:00
Colin Angus Mackay10-Apr-09 8:00 
GeneralRe: Can someone please tell me what is wrong with this List function? Pin
stonebergftw10-Apr-09 8:12
stonebergftw10-Apr-09 8:12 
GeneralRe: Can someone please tell me what is wrong with this List function? Pin
Colin Angus Mackay10-Apr-09 8:25
Colin Angus Mackay10-Apr-09 8:25 
public List CreateTableInstance(List[,]myBoard)


If this is the List in .NET, and not your own class, then it is a generic and must be specified as such
List<Type>

List[,]myBoard


You are defining a two dimentional array of list objects here called myBoard. Is that what you want to do, an array of lists?

List zero = new List,int>(1);


This is completely confused. You have a non-generic List on the left, and on the right is a half baked attempt at instantiting a generic list object containing integers with an initial capacity of 1.

List theBoard = new List();
theBoard = CreateTableInstance(theBoard);


You have already defined CreateTableInstance as requiring an array of list objects. However, you are passing a list (not an array of lists).


That takes care of the syntax errors that I can see. However, your compiler will have told you all about these already. Right?

You have not, as I requested, told me what you are attempting to do. By reading the code I cannot tell what it is you are trying to do because the code is too confused. You do one thing on one line, and then you undo it later on. Or you perform actions that have no effect because you throw away the work they have done.


GeneralRe: Can someone please tell me what is wrong with this List function? Pin
stonebergftw10-Apr-09 8:37
stonebergftw10-Apr-09 8:37 
GeneralRe: Can someone please tell me what is wrong with this List function? Pin
Colin Angus Mackay10-Apr-09 8:57
Colin Angus Mackay10-Apr-09 8:57 
GeneralRe: Can someone please tell me what is wrong with this List function? Pin
stonebergftw10-Apr-09 9:08
stonebergftw10-Apr-09 9:08 
QuestionWhy is the image erased by the background? Pin
garry.fang10-Apr-09 6:41
garry.fang10-Apr-09 6:41 
AnswerRe: Why is the image erased by the background? Pin
Luc 64801110-Apr-09 6:58
Luc 64801110-Apr-09 6:58 
GeneralRe: Why is the image erased by the background? Pin
garry.fang10-Apr-09 7:20
garry.fang10-Apr-09 7:20 
GeneralRe: Why is the image erased by the background? Pin
Dan Neely10-Apr-09 8:36
Dan Neely10-Apr-09 8:36 
GeneralRe: Why is the image erased by the background? Pin
garry.fang10-Apr-09 9:26
garry.fang10-Apr-09 9:26 
AnswerRe: Why is the image erased by the background? Pin
Dan Neely10-Apr-09 7:04
Dan Neely10-Apr-09 7:04 
QuestionHow to run swf file from c#? Pin
Supra210-Apr-09 5:26
Supra210-Apr-09 5:26 
AnswerRe: How to run swf file from c#? Pin
Dan Neely10-Apr-09 7:08
Dan Neely10-Apr-09 7:08 
AnswerRe: How to run swf file from c#? Pin
krishna_goluguri8-Jul-10 0:25
krishna_goluguri8-Jul-10 0:25 
QuestionExcel grid lines issue Pin
winsrividhya10-Apr-09 5:24
winsrividhya10-Apr-09 5:24 
AnswerRe: Excel grid lines issue Pin
Henry Minute10-Apr-09 8:31
Henry Minute10-Apr-09 8:31 
Questionusing infomessege in firebird or other database Pin
muhammedmustafa10-Apr-09 4:48
muhammedmustafa10-Apr-09 4:48 
AnswerRe: using infomessege in firebird or other database Pin
Colin Angus Mackay10-Apr-09 5:04
Colin Angus Mackay10-Apr-09 5:04 
GeneralRe: using infomessege in firebird or other database Pin
muhammedmustafa10-Apr-09 21:24
muhammedmustafa10-Apr-09 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.