Click here to Skip to main content
   

C#

 
AnswerRe: Int32rect not found Pinmemberz3ngew12-Jan-13 0:45 
AnswerRe: Int32rect not found PinmvpFlorian Rappl12-Jan-13 0:46 
AnswerRe: Int32rect not found PinmvpRichard MacCutchan12-Jan-13 1:07 
GeneralRe: Int32rect not found Pinmemberz3ngew13-Jan-13 7:12 
QuestionProblem With User Controls [modified] PinmemberMah boubeh11-Jan-13 19:58 
AnswerRe: Problem With User Controls PinmvpDave Kreskowiak11-Jan-13 20:00 
GeneralRe: Problem With User Controls PinmemberMah boubeh11-Jan-13 20:09 
AnswerRe: Problem With User Controls PinmvpOriginalGriff11-Jan-13 23: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. Pinmembervanikanc11-Jan-13 11:27 
AnswerRe: single log file for two classes. Pinmembermark merrens11-Jan-13 11:58 
GeneralRe: single log file for two classes. PinmemberGarth J Lancaster11-Jan-13 13:56 
GeneralRe: single log file for two classes. Pinmembervanikanc14-Jan-13 4:00 
AnswerRe: single log file for two classes. PinmemberPIEBALDconsult11-Jan-13 14:26 
GeneralRe: single log file for two classes. Pinmembervanikanc15-Jan-13 3:24 
GeneralRe: single log file for two classes. PinmemberPIEBALDconsult15-Jan-13 4:08 
QuestionBinary File Library Pinmemberdxtrx11-Jan-13 11:24 
AnswerRe: Binary File Library PinmemberGarth J Lancaster11-Jan-13 12:18 
GeneralRe: Binary File Library Pinmemberdxtrx11-Jan-13 12:41 
GeneralRe: Binary File Library PinmemberGarth J Lancaster11-Jan-13 13:43 
GeneralRe: Binary File Library Pinmemberdxtrx11-Jan-13 13:47 
QuestionLatency In Button Click When Using MVVM PinmemberTee12311-Jan-13 8:25 
AnswerRe: Latency In Button Click When Using MVVM PinmemberSledgeHammer0111-Jan-13 10:38 
GeneralRe: Latency In Button Click When Using MVVM PinmemberTee12311-Jan-13 11:14 
QuestionC# computer name rename PinmemberEvetsMostel11-Jan-13 8:00 
AnswerRe: C# computer name rename Pinmemberjibesh11-Jan-13 8:47 

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
Web01 | 2.8.150327.1 | Last Updated 29 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid