Click here to Skip to main content
11,584,460 members (63,322 online)
   

C#

 
GeneralRe: error An unhandled exception has occured (XAML Designer in wpf Pin
ProgramFOX16-Jan-13 5:06
member ProgramFOX16-Jan-13 5:06 
Questioni cant fill table with data i pull from sql Pin
a1_shay12-Jan-13 0:23
membera1_shay12-Jan-13 0:23 
AnswerRe: i cant fill table with data i pull from sql Pin
Richard MacCutchan12-Jan-13 3:38
mvpRichard MacCutchan12-Jan-13 3:38 
GeneralRe: i cant fill table with data i pull from sql Pin
a1_shay12-Jan-13 10:08
membera1_shay12-Jan-13 10:08 
GeneralRe: i cant fill table with data i pull from sql Pin
micke.andersson28-Jan-13 4:07
membermicke.andersson28-Jan-13 4:07 
QuestionInt32rect not found Pin
z3ngew11-Jan-13 23:34
memberz3ngew11-Jan-13 23:34 
AnswerRe: Int32rect not found Pin
z3ngew11-Jan-13 23:45
memberz3ngew11-Jan-13 23:45 
AnswerRe: Int32rect not found Pin
Florian Rappl11-Jan-13 23:46
mvpFlorian Rappl11-Jan-13 23:46 
AnswerRe: Int32rect not found Pin
Richard MacCutchan12-Jan-13 0:07
mvpRichard MacCutchan12-Jan-13 0:07 
GeneralRe: Int32rect not found Pin
z3ngew13-Jan-13 6:12
memberz3ngew13-Jan-13 6:12 
QuestionProblem With User Controls Pin
Mah boubeh11-Jan-13 18:58
memberMah boubeh11-Jan-13 18:58 
AnswerRe: Problem With User Controls Pin
Dave Kreskowiak11-Jan-13 19:00
mvpDave Kreskowiak11-Jan-13 19:00 
GeneralRe: Problem With User Controls Pin
Mah boubeh11-Jan-13 19:09
memberMah boubeh11-Jan-13 19:09 
AnswerRe: Problem With User Controls Pin
OriginalGriff11-Jan-13 22:13
mvpOriginalGriff11-Jan-13 22:13 
Two things you need to do: First, try setting a Size for each Mine: 10x10 will probably help.
Second, how are you sure that they aren't being added? Try setting a BorderStyle as well:
for (int i = 0; i < Rows; i++)
    {
    for (int j = 0; j < Columns; j++)
        {
        Mines[i, j] = new Mine()
            {
            IsColored = true,
            IsHidden = true,
            Location = new System.Drawing.Point(j * 16, i * 16),
            Size = new Size(10,10),
            BorderStyle = BorderStyle.FixedSingle
            };
 
        this.Controls.Add(Mines[i, j]);
        }
    }
See if you can see them then.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

Questionsingle log file for two classes. Pin
vanikanc11-Jan-13 10:27
membervanikanc11-Jan-13 10:27 
AnswerRe: single log file for two classes. Pin
mark merrens11-Jan-13 10:58
membermark merrens11-Jan-13 10:58 
GeneralRe: single log file for two classes. Pin
Garth J Lancaster11-Jan-13 12:56
memberGarth J Lancaster11-Jan-13 12:56 
GeneralRe: single log file for two classes. Pin
vanikanc14-Jan-13 3:00
membervanikanc14-Jan-13 3:00 
AnswerRe: single log file for two classes. Pin
PIEBALDconsult11-Jan-13 13:26
memberPIEBALDconsult11-Jan-13 13:26 
GeneralRe: single log file for two classes. Pin
vanikanc15-Jan-13 2:24
membervanikanc15-Jan-13 2:24 
GeneralRe: single log file for two classes. Pin
PIEBALDconsult15-Jan-13 3:08
memberPIEBALDconsult15-Jan-13 3:08 
QuestionBinary File Library Pin
dxtrx11-Jan-13 10:24
memberdxtrx11-Jan-13 10:24 
AnswerRe: Binary File Library Pin
Garth J Lancaster11-Jan-13 11:18
memberGarth J Lancaster11-Jan-13 11:18 
GeneralRe: Binary File Library Pin
dxtrx11-Jan-13 11:41
memberdxtrx11-Jan-13 11:41 
GeneralRe: Binary File Library Pin
Garth J Lancaster11-Jan-13 12:43
memberGarth J Lancaster11-Jan-13 12:43 
GeneralRe: Binary File Library Pin
dxtrx11-Jan-13 12:47
memberdxtrx11-Jan-13 12:47 
QuestionLatency In Button Click When Using MVVM Pin
Tee12311-Jan-13 7:25
memberTee12311-Jan-13 7:25 
AnswerRe: Latency In Button Click When Using MVVM Pin
SledgeHammer0111-Jan-13 9:38
memberSledgeHammer0111-Jan-13 9:38 
GeneralRe: Latency In Button Click When Using MVVM Pin
Tee12311-Jan-13 10:14
memberTee12311-Jan-13 10:14 
QuestionC# computer name rename Pin
EvetsMostel11-Jan-13 7:00
memberEvetsMostel11-Jan-13 7:00 
AnswerRe: C# computer name rename Pin
jibesh11-Jan-13 7:47
memberjibesh11-Jan-13 7:47 
GeneralRe: C# computer name rename Pin
EvetsMostel11-Jan-13 7:54
memberEvetsMostel11-Jan-13 7:54 
GeneralRe: C# computer name rename Pin
EvetsMostel11-Jan-13 11:30
memberEvetsMostel11-Jan-13 11:30 
GeneralRe: C# computer name rename Pin
EvetsMostel14-Jan-13 13:15
memberEvetsMostel14-Jan-13 13:15 
QuestionFTP Decryption Error Pin
Member 865395910-Jan-13 18:22
memberMember 865395910-Jan-13 18:22 
AnswerRe: FTP Decryption Error Pin
Bernhard Hiller10-Jan-13 21:46
memberBernhard Hiller10-Jan-13 21:46 
GeneralRe: FTP Decryption Error Pin
Garth J Lancaster11-Jan-13 11:00
memberGarth J Lancaster11-Jan-13 11:00 
AnswerRe: FTP Decryption Error Pin
Eddy Vluggen11-Jan-13 2:28
mvpEddy Vluggen11-Jan-13 2:28 
GeneralRe: FTP Decryption Error Pin
Garth J Lancaster11-Jan-13 11:00
memberGarth J Lancaster11-Jan-13 11:00 
Questionhow to export a div to pdf Pin
shineskollam10-Jan-13 18:17
membershineskollam10-Jan-13 18:17 
AnswerRe: how to export a div to pdf Pin
Richard MacCutchan10-Jan-13 21:51
mvpRichard MacCutchan10-Jan-13 21:51 
QuestionRegarding implementation of Dependency Injection with C# Pin
Tridip Bhattacharjee10-Jan-13 2:06
memberTridip Bhattacharjee10-Jan-13 2:06 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
Pete O'Hanlon10-Jan-13 2:22
protectorPete O'Hanlon10-Jan-13 2:22 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
jschell10-Jan-13 14:03
memberjschell10-Jan-13 14:03 
AnswerRe: Regarding implementation of Dependency Injection with C# Pin
SledgeHammer0110-Jan-13 14:57
memberSledgeHammer0110-Jan-13 14:57 
GeneralRe: Regarding implementation of Dependency Injection with C# Pin
Tridip Bhattacharjee10-Jan-13 20:07
memberTridip Bhattacharjee10-Jan-13 20:07 
GeneralRe: Regarding implementation of Dependency Injection with C# Pin
Pete O'Hanlon10-Jan-13 21:11
protectorPete O'Hanlon10-Jan-13 21:11 
QuestionHow to draw an arc in winRT with animation? Pin
abinashokk9-Jan-13 21:55
memberabinashokk9-Jan-13 21:55 
AnswerRe: How to draw an arc in winRT with animation? Pin
Pete O'Hanlon9-Jan-13 22:34
protectorPete O'Hanlon9-Jan-13 22:34 
QuestionC#.NET 3.5 Code review checklist Pin
Member 31370789-Jan-13 20:28
memberMember 31370789-Jan-13 20:28 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 7 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid