Click here to Skip to main content
15,913,229 members
Home / Discussions / C#
   

C#

 
GeneralRe: String conversion Pin
M. A. Deniz Yalman12-Dec-06 4:52
M. A. Deniz Yalman12-Dec-06 4:52 
QuestionOnly One Child Window in MDI Pin
h@s@n12-Dec-06 3:43
h@s@n12-Dec-06 3:43 
AnswerRe: Only One Child Window in MDI Pin
Pete O'Hanlon12-Dec-06 3:46
mvePete O'Hanlon12-Dec-06 3:46 
GeneralRe: Only One Child Window in MDI Pin
h@s@n12-Dec-06 4:07
h@s@n12-Dec-06 4:07 
AnswerRe: Only One Child Window in MDI Pin
h@s@n12-Dec-06 4:58
h@s@n12-Dec-06 4:58 
QuestionIDisposable.Dispose() Pin
Jon Hulatt12-Dec-06 3:38
Jon Hulatt12-Dec-06 3:38 
AnswerRe: IDisposable.Dispose() Pin
Not Active12-Dec-06 4:26
mentorNot Active12-Dec-06 4:26 
AnswerRe: IDisposable.Dispose() Pin
Pete O'Hanlon12-Dec-06 4:29
mvePete O'Hanlon12-Dec-06 4:29 
Try this:

namespace TestDisposable
{
	/// <summary>
	/// Summary description for DisposeClasses.
	/// </summary>
	public class DisposeClass : IDisposable
	{
		public DisposeClass()
		{
			//
			// TODO: Add constructor logic here
			//
		}
		#region IDisposable Members

		public void Dispose()
		{
			// TODO:  Add DisposeClass.Dispose implementation
			Console.WriteLine("Called dispose in DisposeClass");
		}

		#endregion
	}

	public class Class2 : DisposeClass, IDisposable
	{
		public new void Dispose()
		{
			base.Dispose();
			Console.WriteLine("Called dispose in Class2");
		}

		public void DoIt()
		{
		}
	}
}



the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer

Deja View - the feeling that you've seen this post before.

GeneralRe: IDisposable.Dispose() Pin
Jon Hulatt12-Dec-06 5:26
Jon Hulatt12-Dec-06 5:26 
AnswerRe: IDisposable.Dispose() Pin
Scott Dorman13-Dec-06 3:03
professionalScott Dorman13-Dec-06 3:03 
QuestionFrom C# to office visio enterprise Pin
Yustme12-Dec-06 3:15
Yustme12-Dec-06 3:15 
AnswerRe: From C# to office visio enterprise Pin
Vasudevan Deepak Kumar12-Dec-06 3:20
Vasudevan Deepak Kumar12-Dec-06 3:20 
GeneralRe: From C# to office visio enterprise Pin
Yustme12-Dec-06 3:24
Yustme12-Dec-06 3:24 
GeneralRe: From C# to office visio enterprise Pin
Pete O'Hanlon12-Dec-06 3:26
mvePete O'Hanlon12-Dec-06 3:26 
QuestionHow many instances do I have in the following example? Pin
Shy Agam12-Dec-06 2:50
Shy Agam12-Dec-06 2:50 
AnswerRe: How many instances do I have in the following example? Pin
baerten12-Dec-06 3:09
baerten12-Dec-06 3:09 
AnswerRe: How many instances do I have in the following example? Pin
Pete O'Hanlon12-Dec-06 3:21
mvePete O'Hanlon12-Dec-06 3:21 
GeneralRe: How many instances do I have in the following example? Pin
Shy Agam12-Dec-06 3:28
Shy Agam12-Dec-06 3:28 
GeneralRe: How many instances do I have in the following example? Pin
Pete O'Hanlon12-Dec-06 3:44
mvePete O'Hanlon12-Dec-06 3:44 
Questionautoscroll property of an MDI Pin
sathishtl00712-Dec-06 1:36
sathishtl00712-Dec-06 1:36 
AnswerRe: autoscroll property of an MDI Pin
stancrm12-Dec-06 1:53
stancrm12-Dec-06 1:53 
GeneralRe: autoscroll property of an MDI Pin
sathishtl00712-Dec-06 2:08
sathishtl00712-Dec-06 2:08 
GeneralRe: autoscroll property of an MDI Pin
Pete O'Hanlon12-Dec-06 2:32
mvePete O'Hanlon12-Dec-06 2:32 
QuestionHow to pass a form name to a sub program Pin
mwith12-Dec-06 1:32
mwith12-Dec-06 1:32 
AnswerRe: How to pass a form name to a sub program Pin
stancrm12-Dec-06 1:49
stancrm12-Dec-06 1:49 

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.