Click here to Skip to main content
15,889,096 members
Home / Discussions / C#
   

C#

 
AnswerRe: Int32rect not found Pin
z3ngew11-Jan-13 23:45
z3ngew11-Jan-13 23:45 
AnswerRe: Int32rect not found Pin
Florian Rappl11-Jan-13 23:46
professionalFlorian Rappl11-Jan-13 23:46 
AnswerRe: Int32rect not found Pin
Richard MacCutchan12-Jan-13 0:07
mveRichard MacCutchan12-Jan-13 0:07 
GeneralRe: Int32rect not found Pin
z3ngew13-Jan-13 6:12
z3ngew13-Jan-13 6:12 
QuestionProblem With User Controls Pin
Mah boubeh11-Jan-13 18:58
professionalMah boubeh11-Jan-13 18:58 
AnswerRe: Problem With User Controls Pin
Dave Kreskowiak11-Jan-13 19:00
mveDave Kreskowiak11-Jan-13 19:00 
GeneralRe: Problem With User Controls Pin
Mah boubeh11-Jan-13 19:09
professionalMah boubeh11-Jan-13 19:09 
AnswerRe: Problem With User Controls Pin
OriginalGriff11-Jan-13 22:13
mveOriginalGriff11-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:
C#
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
vanikanc11-Jan-13 10:27 
AnswerRe: single log file for two classes. Pin
R. Giskard Reventlov11-Jan-13 10:58
R. Giskard Reventlov11-Jan-13 10:58 
GeneralRe: single log file for two classes. Pin
Garth J Lancaster11-Jan-13 12:56
professionalGarth J Lancaster11-Jan-13 12:56 
GeneralRe: single log file for two classes. Pin
vanikanc14-Jan-13 3:00
vanikanc14-Jan-13 3:00 
AnswerRe: single log file for two classes. Pin
PIEBALDconsult11-Jan-13 13:26
mvePIEBALDconsult11-Jan-13 13:26 
GeneralRe: single log file for two classes. Pin
vanikanc15-Jan-13 2:24
vanikanc15-Jan-13 2:24 
GeneralRe: single log file for two classes. Pin
PIEBALDconsult15-Jan-13 3:08
mvePIEBALDconsult15-Jan-13 3:08 
QuestionBinary File Library Pin
dxtrx11-Jan-13 10:24
dxtrx11-Jan-13 10:24 
AnswerRe: Binary File Library Pin
Garth J Lancaster11-Jan-13 11:18
professionalGarth J Lancaster11-Jan-13 11:18 
GeneralRe: Binary File Library Pin
dxtrx11-Jan-13 11:41
dxtrx11-Jan-13 11:41 
GeneralRe: Binary File Library Pin
Garth J Lancaster11-Jan-13 12:43
professionalGarth J Lancaster11-Jan-13 12:43 
GeneralRe: Binary File Library Pin
dxtrx11-Jan-13 12:47
dxtrx11-Jan-13 12:47 
QuestionLatency In Button Click When Using MVVM Pin
Tee12311-Jan-13 7:25
Tee12311-Jan-13 7:25 
AnswerRe: Latency In Button Click When Using MVVM Pin
SledgeHammer0111-Jan-13 9:38
SledgeHammer0111-Jan-13 9:38 
GeneralRe: Latency In Button Click When Using MVVM Pin
Tee12311-Jan-13 10:14
Tee12311-Jan-13 10:14 
QuestionC# computer name rename Pin
EvetsMostel11-Jan-13 7:00
EvetsMostel11-Jan-13 7:00 
AnswerRe: C# computer name rename Pin
Jibesh11-Jan-13 7:47
professionalJibesh11-Jan-13 7:47 

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.