Click here to Skip to main content
16,020,313 members
Home / Discussions / C#
   

C#

 
GeneralRe: Auto refresh of referenced library... Pin
Shy Agam6-Aug-06 12:49
Shy Agam6-Aug-06 12:49 
GeneralRe: Auto refresh of referenced library... Pin
Judah Gabriel Himango6-Aug-06 13:01
sponsorJudah Gabriel Himango6-Aug-06 13:01 
GeneralRe: Auto refresh of referenced library... Pin
Shy Agam6-Aug-06 13:15
Shy Agam6-Aug-06 13:15 
QuestionC++ to C# Pin
t4ure4n6-Aug-06 11:22
t4ure4n6-Aug-06 11:22 
AnswerRe: C++ to C# Pin
Judah Gabriel Himango6-Aug-06 11:41
sponsorJudah Gabriel Himango6-Aug-06 11:41 
QuestionPaint a cell in DataGridView Pin
kalyanPaladugu6-Aug-06 10:56
kalyanPaladugu6-Aug-06 10:56 
AnswerRe: Paint a cell in DataGridView Pin
Judah Gabriel Himango6-Aug-06 11:38
sponsorJudah Gabriel Himango6-Aug-06 11:38 
GeneralRe: Paint a cell in DataGridView Pin
kalyanPaladugu6-Aug-06 13:06
kalyanPaladugu6-Aug-06 13:06 
I used the below method to paint all the cells of the column in the datagridview but when i maximize and minimize the windows form
the effect of painting becomes bad. Any thoughts how to rectify that. Basically by the code below iam erasing the cells in the particular
column called col

void dataGridView1_CellPainting(object sender, System.Windows.Forms.DataGridViewCellPaintingEventArgs e)
{
if (this.dataGridView1.Columns["Col"].Index == e.ColumnIndex && e.RowIndex >= 0)
{
using (
Brush gridBrush = new SolidBrush(this.dataGridView1.GridColor),
backColorBrush = new SolidBrush(e.CellStyle.BackColor))
{
using (Pen gridLinePen = new Pen(gridBrush))
{
Rectangle newRect = new Rectangle(e.CellBounds.X +3,e.CellBounds.Y + 3, e.CellBounds.Width - 3, e.CellBounds.Height - 3);
e.Graphics.FillRectangle(backColorBrush, newRect);
e.Handled = true;
}
}

}
GeneralRe: Paint a cell in DataGridView Pin
Judah Gabriel Himango6-Aug-06 15:56
sponsorJudah Gabriel Himango6-Aug-06 15:56 
GeneralRe: Paint a cell in DataGridView Pin
Erik Molenaar8-Aug-06 7:53
Erik Molenaar8-Aug-06 7:53 
QuestionSerialisation of more than one object Pin
Malcolm Smart6-Aug-06 10:00
Malcolm Smart6-Aug-06 10:00 
AnswerRe: Serialisation of more than one object Pin
Malcolm Smart6-Aug-06 10:39
Malcolm Smart6-Aug-06 10:39 
GeneralRe: Serialisation of more than one object Pin
HellfireHD6-Aug-06 11:32
HellfireHD6-Aug-06 11:32 
GeneralRe: Serialisation of more than one object Pin
Malcolm Smart6-Aug-06 20:58
Malcolm Smart6-Aug-06 20:58 
Questionjava stringtokenizer in c# Pin
Legolas_Bilbao6-Aug-06 9:56
Legolas_Bilbao6-Aug-06 9:56 
AnswerRe: java stringtokenizer in c# Pin
Colin Angus Mackay6-Aug-06 10:07
Colin Angus Mackay6-Aug-06 10:07 
GeneralRe: java stringtokenizer in c# Pin
Judah Gabriel Himango6-Aug-06 11:37
sponsorJudah Gabriel Himango6-Aug-06 11:37 
GeneralRe: java stringtokenizer in c# Pin
Legolas_Bilbao6-Aug-06 20:01
Legolas_Bilbao6-Aug-06 20:01 
Questionclass library and windows application trouble. Pin
digitalangel6-Aug-06 8:20
digitalangel6-Aug-06 8:20 
AnswerRe: class library and windows application trouble. Pin
Judah Gabriel Himango6-Aug-06 9:30
sponsorJudah Gabriel Himango6-Aug-06 9:30 
QuestionDataTable and DataGridView in C# -- Please Help Pin
kalyanPaladugu6-Aug-06 7:24
kalyanPaladugu6-Aug-06 7:24 
AnswerRe: DataTable and DataGridView in C# -- Please Help Pin
Judah Gabriel Himango6-Aug-06 9:32
sponsorJudah Gabriel Himango6-Aug-06 9:32 
GeneralRe: DataTable and DataGridView in C# -- Please Help Pin
kalyanPaladugu6-Aug-06 9:42
kalyanPaladugu6-Aug-06 9:42 
GeneralRe: DataTable and DataGridView in C# -- Please Help Pin
Judah Gabriel Himango6-Aug-06 11:34
sponsorJudah Gabriel Himango6-Aug-06 11:34 
QuestionHow can I alignment text On PRINTING ? ? ? Pin
galigal156-Aug-06 6:45
galigal156-Aug-06 6:45 

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.