Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: Member hiding and polymorphism Pin
Christian Graus18-Oct-06 0:01
protectorChristian Graus18-Oct-06 0:01 
AnswerRe: Member hiding and polymorphism Pin
saqib8218-Oct-06 0:01
saqib8218-Oct-06 0:01 
GeneralRe: Member hiding and polymorphism Pin
Christian Graus18-Oct-06 0:08
protectorChristian Graus18-Oct-06 0:08 
GeneralRe: Member hiding and polymorphism Pin
saqib8218-Oct-06 0:11
saqib8218-Oct-06 0:11 
GeneralRe: Member hiding and polymorphism Pin
Christian Graus18-Oct-06 0:19
protectorChristian Graus18-Oct-06 0:19 
GeneralRe: Member hiding and polymorphism Pin
Mairaaj Khan18-Oct-06 1:33
professionalMairaaj Khan18-Oct-06 1:33 
QuestionOverriding Hide method Pin
Mandaar Kulkarni17-Oct-06 23:03
Mandaar Kulkarni17-Oct-06 23:03 
AnswerRe: Overriding Hide method Pin
Martin#17-Oct-06 23:26
Martin#17-Oct-06 23:26 
Hello,

I think you could use this for your base Forms class:

<br />
		public new virtual void Hide()<br />
		{<br />
			//if(???)<br />
			//{<br />
				base.Hide();<br />
			//}<br />
			//else<br />
			//{<br />
				//youre code<br />
			//}<br />
		}<br />


And this for your derived classes:

<br />
		public override void Hide()<br />
		{<br />
			//if(???)<br />
			//{<br />
				base.Hide();<br />
			//}<br />
			//else<br />
			//{<br />
				//youre code<br />
			//}<br />
		}<br />


Hope that helps you.

All the best,

Martin
GeneralRe: Overriding Hide method Pin
Mandaar Kulkarni18-Oct-06 0:03
Mandaar Kulkarni18-Oct-06 0:03 
Questioncalling Console Application from Windows Application? Pin
leanhsang17-Oct-06 22:57
leanhsang17-Oct-06 22:57 
AnswerRe: calling Console Application from Windows Application? Pin
Christian Graus17-Oct-06 23:00
protectorChristian Graus17-Oct-06 23:00 
QuestionHow can i set/get metadata information of file using C# Pin
Adiphe17-Oct-06 22:56
Adiphe17-Oct-06 22:56 
AnswerRe: How can i set/get metadata information of file using C# Pin
Christian Graus17-Oct-06 23:00
protectorChristian Graus17-Oct-06 23:00 
GeneralRe: How can i set/get metadata information of file using C# Pin
Adiphe17-Oct-06 23:11
Adiphe17-Oct-06 23:11 
GeneralRe: How can i set/get metadata information of file using C# Pin
Michael P Butler17-Oct-06 23:19
Michael P Butler17-Oct-06 23:19 
QuestionObject as database Pin
nemopeti17-Oct-06 22:56
nemopeti17-Oct-06 22:56 
AnswerRe: Object as database Pin
Christian Graus17-Oct-06 23:02
protectorChristian Graus17-Oct-06 23:02 
GeneralRe: Object as database Pin
nemopeti17-Oct-06 23:17
nemopeti17-Oct-06 23:17 
Question2 Sql Server Process ID created for 1 query. Pin
coby cai17-Oct-06 22:56
professionalcoby cai17-Oct-06 22:56 
AnswerRe: 2 Sql Server Process ID created for 1 query. Pin
Mike Dimmick18-Oct-06 1:14
Mike Dimmick18-Oct-06 1:14 
GeneralRe: 2 Sql Server Process ID created for 1 query. Pin
coby cai18-Oct-06 17:11
professionalcoby cai18-Oct-06 17:11 
QuestionCompare dates Pin
Mamphekgo17-Oct-06 22:45
Mamphekgo17-Oct-06 22:45 
AnswerRe: Compare dates Pin
Christian Graus17-Oct-06 22:48
protectorChristian Graus17-Oct-06 22:48 
Questionhow can i select text from .chm file through C# Pin
sikandarhayat17-Oct-06 22:28
sikandarhayat17-Oct-06 22:28 
Questionsending file over MSMQ in C#.net Pin
nmandaliya17-Oct-06 21:59
nmandaliya17-Oct-06 21:59 

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.