Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
QuestionSession timeout problem Pin
ayyp18-Jun-06 23:57
ayyp18-Jun-06 23:57 
QuestionRe: Session timeout problem Pin
Dustin Metzgar19-Jun-06 9:54
Dustin Metzgar19-Jun-06 9:54 
AnswerRe: Session timeout problem Pin
Bogdan Damian19-Jun-06 9:54
Bogdan Damian19-Jun-06 9:54 
GeneralRe: Session timeout problem Pin
ayyp19-Jun-06 18:55
ayyp19-Jun-06 18:55 
QuestionReading Tree View Item from another process Pin
suguimoto18-Jun-06 23:55
suguimoto18-Jun-06 23:55 
AnswerRe: Reading Tree View Item from another process Pin
Nader Elshehabi19-Jun-06 0:12
Nader Elshehabi19-Jun-06 0:12 
GeneralRe: Reading Tree View Item from another process Pin
suguimoto19-Jun-06 0:22
suguimoto19-Jun-06 0:22 
QuestionCreating object [modified] Pin
alazer18-Jun-06 23:37
alazer18-Jun-06 23:37 
Hi i have one doubt ,for craeting an object in which this requires parent object where as parent is abstract?How it's possible?

Class Structure:

public abstract class Setting : DefinitionObject, ISerializable
{
#region Fields
// Fields
. . . . . .

#endregion

#region Construction/Finalization
// Construction/Finalization
/// <summary>Constructor.</summary>
/// <param name="parent">The parent setting.</param>
/// <param name="category">The setting category.</param>
/// <param name="strName">The setting name.</param>
public Setting(Setting parent, SettingCategory category, string strName)
{
EditMode = true; //Setting object need to be in edit mode.
m_Parent = parent;
Name = strName;
CategoryAsString = XmlSettingCategory.CategoryToXmlCategory(category);
//Setting base properties set the dirty flag to True. Therefore we have to set it back to false.
base.SetDefDirty(false);
}
}


public class CollectionSetting : Setting, ISerializable
{
#region Fields
// Fields
. . . . .
#endregion

#region Constructor / Finalization
// Constructor / Finalization
/// <summary>Constructor.</summary>
/// <param name="parent">The parent setting.</param>
/// <param name="category">The setting category.</param>
/// <param name="strName">The setting name.</param>
public CollectionSetting(Setting parent, SettingCategory category, string strName) : base(parent, category, strName)
{

}
}


CollectionSetting cSetting = new CollectionSetting(? , ?? , ???);

What i give the input to "?"Because this requires parent object but parent class is an abstract?

Please help me .....

A.Arputha Lazer.

-- modified at 5:38 Monday 19th June, 2006
GeneralRe: Creating object Pin
Colin Angus Mackay19-Jun-06 0:10
Colin Angus Mackay19-Jun-06 0:10 
AnswerRe: Creating object Pin
Colin Angus Mackay19-Jun-06 0:14
Colin Angus Mackay19-Jun-06 0:14 
AnswerRe: Creating object Pin
BoneSoft19-Jun-06 4:13
BoneSoft19-Jun-06 4:13 
GeneralRe: Creating object Pin
Colin Angus Mackay19-Jun-06 5:29
Colin Angus Mackay19-Jun-06 5:29 
GeneralRe: Creating object Pin
BoneSoft19-Jun-06 5:42
BoneSoft19-Jun-06 5:42 
GeneralRe: Creating object Pin
LongRange.Shooter20-Jun-06 17:24
LongRange.Shooter20-Jun-06 17:24 
Questiongetting day of the date Pin
SR Ranjini18-Jun-06 22:55
SR Ranjini18-Jun-06 22:55 
AnswerRe: getting day of the date Pin
rah_sin18-Jun-06 23:25
professionalrah_sin18-Jun-06 23:25 
AnswerRe: getting day of the date Pin
Jesal Rana19-Jun-06 2:39
Jesal Rana19-Jun-06 2:39 
QuestionPLEASE HELP Pin
innocent7318-Jun-06 22:44
innocent7318-Jun-06 22:44 
AnswerRe: PLEASE HELP Pin
Colin Angus Mackay19-Jun-06 0:05
Colin Angus Mackay19-Jun-06 0:05 
GeneralRe: PLEASE HELP Pin
innocent7319-Jun-06 0:19
innocent7319-Jun-06 0:19 
GeneralRe: PLEASE HELP Pin
Colin Angus Mackay19-Jun-06 0:36
Colin Angus Mackay19-Jun-06 0:36 
GeneralRe: PLEASE HELP Pin
innocent7319-Jun-06 0:55
innocent7319-Jun-06 0:55 
GeneralRe: PLEASE HELP Pin
Colin Angus Mackay19-Jun-06 1:54
Colin Angus Mackay19-Jun-06 1:54 
AnswerRe: PLEASE HELP Pin
Nader Elshehabi19-Jun-06 1:14
Nader Elshehabi19-Jun-06 1:14 
GeneralRe: PLEASE HELP Pin
Colin Angus Mackay19-Jun-06 1:57
Colin Angus Mackay19-Jun-06 1:57 

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.