Click here to Skip to main content
15,921,959 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is the difference between normal project and setup project? Pin
Colin Angus Mackay13-Jun-07 2:18
Colin Angus Mackay13-Jun-07 2:18 
Questionattaching a read me file. Pin
prateek_nitw12-Jun-07 22:49
prateek_nitw12-Jun-07 22:49 
AnswerRe: attaching a read me file. Pin
Manas Bhardwaj13-Jun-07 0:48
professionalManas Bhardwaj13-Jun-07 0:48 
GeneralRe: attaching a read me file. Pin
prateek_nitw13-Jun-07 0:52
prateek_nitw13-Jun-07 0:52 
AnswerRe: attaching a read me file. Pin
Hesham Yassin13-Jun-07 2:12
Hesham Yassin13-Jun-07 2:12 
QuestionHow to deploy desktop application on user's computer Pin
softwareitprofessional12-Jun-07 22:12
softwareitprofessional12-Jun-07 22:12 
AnswerRe: How to deploy desktop application on user's computer Pin
Colin Angus Mackay12-Jun-07 22:23
Colin Angus Mackay12-Jun-07 22:23 
Questionproblem with Extending DataGridView With GDI+. Pin
hdv21212-Jun-07 22:05
hdv21212-Jun-07 22:05 
hi i want to extend the standard DataGridView in vs 2005 mySelf, and i want to add footer to DataGridView,this is my code to override paint method :

public partial class ExGridView : DataGridView<br />
{<br />
private int _footerHeight;<br />
public ExGridView()<br />
{<br />
InitializeComponent();<br />
_footerHeight = 20;<br />
}<br />
<br />
public int FooterHeight<br />
{<br />
get<br />
{<br />
return _footerHeight;<br />
}<br />
set<br />
{<br />
if (_footerHeight != value)<br />
{<br />
_footerHeight = value;<br />
Invalidate();<br />
}<br />
}<br />
}<br />
<br />
protected override void OnPaint(PaintEventArgs e)<br />
{<br />
base.OnPaint(e);<br />
Rectangle rOrginal = this.ClientRectangle;<br />
Rectangle rFooter = new Rectangle(0, this.Height, this.Width, _footerHeight);<br />
e.ClipRectangle.Offset(0, _footerHeight);<br />
e.Graphics.DrawRectangle(Pens.Black, rFooter);<br />
e.Graphics.DrawString("Test", this.Font, Brushes.Black, new PointF((float)rFooter.X + 10, (float)rFooter.Y + 5)); <br />
}<br />
}
but when compile my app and add myControl (ExGridView) to my form, nothing occured, where does problem and how to solve it ?
AnswerRe: problem with Extending DataGridView With GDI+. Pin
Luc Pattyn12-Jun-07 22:59
sitebuilderLuc Pattyn12-Jun-07 22:59 
GeneralRe: problem with Extending DataGridView With GDI+. Pin
hdv21213-Jun-07 0:10
hdv21213-Jun-07 0:10 
GeneralRe: problem with Extending DataGridView With GDI+. Pin
Luc Pattyn13-Jun-07 0:26
sitebuilderLuc Pattyn13-Jun-07 0:26 
QuestionProblem using Interop type Pin
Rajesh R Subramanian12-Jun-07 21:50
professionalRajesh R Subramanian12-Jun-07 21:50 
QuestionRe: Problem using Interop type Pin
Stu Richardson12-Jun-07 23:16
Stu Richardson12-Jun-07 23:16 
AnswerRe: Problem using Interop type Pin
Mali Perica12-Jun-07 23:42
Mali Perica12-Jun-07 23:42 
GeneralRe: Problem using Interop type Pin
Rajesh R Subramanian14-Jun-07 20:30
professionalRajesh R Subramanian14-Jun-07 20:30 
QuestionUPC A barcode imaginig Pin
deepakman_1712-Jun-07 21:40
deepakman_1712-Jun-07 21:40 
AnswerRe: UPC A barcode imaginig Pin
PandemoniumPasha12-Jun-07 22:13
PandemoniumPasha12-Jun-07 22:13 
Questionsavedialog Pin
prateek_nitw12-Jun-07 21:36
prateek_nitw12-Jun-07 21:36 
AnswerRe: savedialog Pin
Giorgi Dalakishvili12-Jun-07 21:38
mentorGiorgi Dalakishvili12-Jun-07 21:38 
AnswerRe: savedialog Pin
Manas Bhardwaj12-Jun-07 21:42
professionalManas Bhardwaj12-Jun-07 21:42 
GeneralRe: savedialog Pin
prateek_nitw12-Jun-07 21:49
prateek_nitw12-Jun-07 21:49 
GeneralRe: savedialog Pin
Luc Pattyn12-Jun-07 21:51
sitebuilderLuc Pattyn12-Jun-07 21:51 
GeneralRe: savedialog Pin
Martin#12-Jun-07 22:10
Martin#12-Jun-07 22:10 
GeneralRe: savedialog Pin
Luc Pattyn12-Jun-07 22:26
sitebuilderLuc Pattyn12-Jun-07 22:26 
GeneralRe: savedialog Pin
Martin#12-Jun-07 21:51
Martin#12-Jun-07 21:51 

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.