Click here to Skip to main content
15,905,071 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# SQL Exception Error Pin
hobbsieoz18-Apr-08 20:48
hobbsieoz18-Apr-08 20:48 
GeneralRe: C# SQL Exception Error Pin
Jimmanuel19-Apr-08 2:30
Jimmanuel19-Apr-08 2:30 
QuestionStart a function in application A triggered by application B Pin
pxp18-Apr-08 7:15
pxp18-Apr-08 7:15 
GeneralRe: Start a function in application A triggered by application B Pin
Not Active18-Apr-08 7:31
mentorNot Active18-Apr-08 7:31 
GeneralRe: Start a function in application A triggered by application B Pin
led mike18-Apr-08 11:34
led mike18-Apr-08 11:34 
AnswerRe: Start a function in application A triggered by application B Pin
Judah Gabriel Himango18-Apr-08 8:06
sponsorJudah Gabriel Himango18-Apr-08 8:06 
GeneralRe: Start a function in application A triggered by application B Pin
Spacix One18-Apr-08 8:52
Spacix One18-Apr-08 8:52 
QuestionHow to center the Button through code in the form? Pin
pdoy070818-Apr-08 5:42
pdoy070818-Apr-08 5:42 
Hello, i was having a problem on coding the button.. what i want to do is put the Button on the center of the form... can anybody help me please.. i used this code.. private void generateButton_Click(object sender, EventArgs e)
{
row = int.Parse(rowsBox.Text);
col = int.Parse(colBox.Text);

Button[,] landmine = new Button[row, col];
for (int _row = 0; _row < row; _row++) {
for (int _col = 0; _col < col; _col++) {
landmine[_row, _col] = new Button();
landmine[_row, _col].Width = 35;
landmine[_row, _col].Height = 35;
landmine[_row, _col].Left = 100 + _col * 35;
landmine[_row, _col].Top = 100 + _row * 35;
landmine[_row, _col].BackColor = Color.LightGray;
Controls.Add(landmine[_row, _col]);
}//end of for loop for columns...
}//end of for loop for row...
}
AnswerRe: How to center the Button through code in the form? Pin
Charith Jayasundara18-Apr-08 6:16
Charith Jayasundara18-Apr-08 6:16 
GeneralRe: How to center the Button through code in the form? Pin
Charith Jayasundara18-Apr-08 6:19
Charith Jayasundara18-Apr-08 6:19 
AnswerRe: How to center the Button through code in the form? Pin
Rob Smiley18-Apr-08 6:16
Rob Smiley18-Apr-08 6:16 
GeneralRe: How to center the Button through code in the form? Pin
pdoy070818-Apr-08 6:28
pdoy070818-Apr-08 6:28 
GeneralCrystal Reports Pin
Wikus.Olivier18-Apr-08 5:11
Wikus.Olivier18-Apr-08 5:11 
QuestionLooping Though A DataGridView? Pin
Harvey Saayman18-Apr-08 4:48
Harvey Saayman18-Apr-08 4:48 
AnswerRe: Looping Though A DataGridView? Pin
Justin Perez18-Apr-08 5:05
Justin Perez18-Apr-08 5:05 
GeneralRe: Looping Though A DataGridView? Pin
Harvey Saayman21-Apr-08 0:03
Harvey Saayman21-Apr-08 0:03 
AnswerRe: Looping Though A DataGridView? Pin
Charith Jayasundara18-Apr-08 7:00
Charith Jayasundara18-Apr-08 7:00 
GeneralCombox in datagridview causes exception Pin
AndrusM18-Apr-08 4:31
AndrusM18-Apr-08 4:31 
GeneralRe: Combox in datagridview causes exception Pin
Justin Perez18-Apr-08 5:07
Justin Perez18-Apr-08 5:07 
GeneralRe: Combox in datagridview causes exception Pin
AndrusM18-Apr-08 5:18
AndrusM18-Apr-08 5:18 
Questionsql server issue Pin
varun.g18-Apr-08 4:26
varun.g18-Apr-08 4:26 
GeneralRe: sql server issue Pin
Charith Jayasundara18-Apr-08 7:05
Charith Jayasundara18-Apr-08 7:05 
Generalappending xml document in C# Pin
mayuri12318-Apr-08 3:37
mayuri12318-Apr-08 3:37 
GeneralRe: appending xml document in C# Pin
led mike18-Apr-08 4:40
led mike18-Apr-08 4:40 
JokeRe: appending xml document in C# Pin
Not Active18-Apr-08 7:33
mentorNot Active18-Apr-08 7:33 

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.