Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sending POST HTTP request truncates the last character Pin
Heath Stewart26-Apr-04 8:54
protectorHeath Stewart26-Apr-04 8:54 
GeneralGDI+ OnPaint Pin
mookeroo26-Apr-04 5:54
mookeroo26-Apr-04 5:54 
GeneralRe: GDI+ OnPaint Pin
Heath Stewart26-Apr-04 6:10
protectorHeath Stewart26-Apr-04 6:10 
GeneralRe: GDI+ OnPaint Pin
mookeroo27-Apr-04 0:52
mookeroo27-Apr-04 0:52 
AnswerRe: Splitting a string into a substring and into chars? Pin
Jeff Varszegi26-Apr-04 5:15
professionalJeff Varszegi26-Apr-04 5:15 
AnswerRe: Splitting a string into a substring and into chars? Pin
Jon G26-Apr-04 5:30
Jon G26-Apr-04 5:30 
AnswerRe: Splitting a string into a substring and into chars? Pin
Heath Stewart26-Apr-04 5:49
protectorHeath Stewart26-Apr-04 5:49 
GeneralThings are not working as expected Pin
gUrM33T26-Apr-04 5:12
gUrM33T26-Apr-04 5:12 
hey guys, can any1 please tell me wtf is wrong with the following code Cry | :(( :
private void panelRightView_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
  System.Drawing.Graphics oGfx = this.panelRightView.CreateGraphics();
  System.Drawing.Rectangle rect = this.picTitleBar.Bounds;
  oGfx.DrawLine(_penLine, rect.Right, rect.Bottom, this.panelRightView.ClientSize.Width - rect.Right, rect.Bottom);
}

The scenario is like this: I've two panels on my Windows form panelLeftView (LEFT docking) and panelRightView (FILL docking). In my right panel's PAINT event handler, I need to draw a f@#king line. The line draws ok, works exactly as I want, it expands when I increase the width of the form, but the problem is that this code doesn't work if I decrease the width of the form Mad | :mad: . The line previously drawn is not cleared when i reduce the form width. Can any .Net guru (especially of C#) tell me why is this happening? Am I doing something wrong Unsure | :~ Confused | :confused: ? Or is that problem occuring only to remind me that I'm working on Microsoft's technology where nothing seems to work as expected Dead | X| Mad | :mad: Mad | :mad: ???

Please Help.

Thanks

Gurmeet S. Kochar
If you believe in God, it's because of the Devil

My CodeProject Articles: HTML Reader C++ Class Library, Numeric Edit Control

GeneralRe: Things are not working as expected Pin
Jon G26-Apr-04 5:20
Jon G26-Apr-04 5:20 
GeneralRe: Things are not working as expected Pin
gUrM33T26-Apr-04 5:29
gUrM33T26-Apr-04 5:29 
GeneralRe: Things are not working as expected Pin
gUrM33T26-Apr-04 5:24
gUrM33T26-Apr-04 5:24 
GeneralRe: Things are not working as expected Pin
Heath Stewart26-Apr-04 5:53
protectorHeath Stewart26-Apr-04 5:53 
GeneralRe: Things are not working as expected Pin
gUrM33T26-Apr-04 15:30
gUrM33T26-Apr-04 15:30 
GeneralRe: Things are not working as expected Pin
Heath Stewart27-Apr-04 2:39
protectorHeath Stewart27-Apr-04 2:39 
QuestionSplitting a string into a substring and into chars? Pin
Eolus26-Apr-04 5:03
Eolus26-Apr-04 5:03 
GeneralProblem With tcpclient.GetStream() Pin
Tarakeshwar26-Apr-04 1:15
Tarakeshwar26-Apr-04 1:15 
GeneralRe: Problem With tcpclient.GetStream() Pin
Heath Stewart26-Apr-04 3:24
protectorHeath Stewart26-Apr-04 3:24 
GeneralRe: Problem With tcpclient.GetStream() Pin
Tarakeshwar26-Apr-04 4:08
Tarakeshwar26-Apr-04 4:08 
GeneralRe: Problem With tcpclient.GetStream() Pin
Heath Stewart26-Apr-04 4:20
protectorHeath Stewart26-Apr-04 4:20 
GeneralOOP help Pin
Atazoth26-Apr-04 0:31
Atazoth26-Apr-04 0:31 
GeneralRe: OOP help Pin
Heath Stewart26-Apr-04 3:21
protectorHeath Stewart26-Apr-04 3:21 
GeneralRe: OOP help Pin
Jeff Varszegi26-Apr-04 3:44
professionalJeff Varszegi26-Apr-04 3:44 
GeneralA new open-source filebrowser Pin
Jonathan Slenders26-Apr-04 0:25
Jonathan Slenders26-Apr-04 0:25 
Generalobject oriented program help Pin
Anonymous26-Apr-04 0:10
Anonymous26-Apr-04 0:10 
GeneralDatagrid and dataset Pin
Appelz25-Apr-04 23:09
Appelz25-Apr-04 23:09 

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.