Click here to Skip to main content
15,894,955 members
Home / Discussions / C#
   

C#

 
GeneralRe: Owner Draw Splitter changing background when moving Pin
Stephane Rodriguez.21-Feb-03 20:18
Stephane Rodriguez.21-Feb-03 20:18 
GeneralRe: Owner Draw Splitter changing background when moving Pin
STW23-Feb-03 6:51
STW23-Feb-03 6:51 
GeneralRe: Owner Draw Splitter changing background when moving Pin
Stephane Rodriguez.23-Feb-03 7:26
Stephane Rodriguez.23-Feb-03 7:26 
Generalsimple explaination Pin
sacoskun21-Feb-03 4:16
sacoskun21-Feb-03 4:16 
GeneralRe: simple explaination Pin
Atul Kale21-Feb-03 5:15
Atul Kale21-Feb-03 5:15 
GeneralRe: simple explaination Pin
sacoskun21-Feb-03 8:05
sacoskun21-Feb-03 8:05 
GeneralRe: simple explaination Pin
Atul Kale23-Feb-03 5:41
Atul Kale23-Feb-03 5:41 
GeneralRe: simple explaination Pin
sacoskun24-Feb-03 10:27
sacoskun24-Feb-03 10:27 
GeneralString to Binary Pin
Mazdak21-Feb-03 0:57
Mazdak21-Feb-03 0:57 
GeneralRe: String to Binary Pin
Anonymous21-Feb-03 2:03
Anonymous21-Feb-03 2:03 
GeneralRe: String to Binary Pin
leppie21-Feb-03 6:01
leppie21-Feb-03 6:01 
GeneralRe: String to Binary Pin
Mazdak21-Feb-03 9:27
Mazdak21-Feb-03 9:27 
GeneralWorking with Exchange Server from ASP.NET Pin
otto_20-Feb-03 23:38
otto_20-Feb-03 23:38 
GeneralPrevent child form from being moved Pin
StefanBuchman20-Feb-03 20:25
StefanBuchman20-Feb-03 20:25 
GeneralRe: Prevent child form from being moved Pin
draco_iii21-Feb-03 3:46
draco_iii21-Feb-03 3:46 
Questionhow can i move a rectangular from one position to another Pin
chiou20-Feb-03 19:50
chiou20-Feb-03 19:50 
AnswerRe: how can i move a rectangular from one position to another Pin
draco_iii21-Feb-03 3:58
draco_iii21-Feb-03 3:58 
GeneralRe: how can i move a rectangular from one position to another Pin
chiou23-Feb-03 14:09
chiou23-Feb-03 14:09 
GeneralWarning Pin
monrobot1320-Feb-03 17:55
monrobot1320-Feb-03 17:55 
GeneralRe: Warning Pin
monrobot1320-Feb-03 18:02
monrobot1320-Feb-03 18:02 
GeneralRe: Warning Pin
Jim Stewart20-Feb-03 18:15
Jim Stewart20-Feb-03 18:15 
GeneralRe: Warning Pin
James T. Johnson20-Feb-03 22:53
James T. Johnson20-Feb-03 22:53 
monrobot13 wrote:
public TcpClient Client {
get { return Client; }
set { Client = value; }
}


You are going to have another problem here.

The property Client, is calling itself for the get/set methods, so you will wind up getting a StackOverflow from all of the recursion that takes place.

If you want your new Client property to return the value from the base class, then you need to specify, base.Client otherwise you need to rename the variable Client so you don't get this infinite recursion.



James

"It is self repeating, of unknown pattern"
Data - Star Trek: The Next Generation

GeneralRe: Warning Pin
monrobot1324-Feb-03 10:25
monrobot1324-Feb-03 10:25 
GeneralA quick question Pin
Braincrash20-Feb-03 17:53
Braincrash20-Feb-03 17:53 
GeneralRe: A quick question Pin
Jim Stewart20-Feb-03 18:19
Jim Stewart20-Feb-03 18:19 

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.