Click here to Skip to main content
15,899,937 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: building architecture. Pin
montu337711-May-05 21:47
montu337711-May-05 21:47 
GeneralRe: building architecture. Pin
montu337712-May-05 2:04
montu337712-May-05 2:04 
GeneralRe: building architecture. Pin
Christian Graus15-May-05 18:18
protectorChristian Graus15-May-05 18:18 
GeneralRe: building architecture. Pin
montu337717-May-05 0:08
montu337717-May-05 0:08 
GeneralRe: building architecture. Pin
Christian Graus17-May-05 12:58
protectorChristian Graus17-May-05 12:58 
GeneralRe: building architecture. Pin
montu337723-May-05 4:49
montu337723-May-05 4:49 
GeneralRe: building architecture. Pin
Christian Graus23-May-05 11:43
protectorChristian Graus23-May-05 11:43 
GeneralRe: building architecture. Pin
montu337724-May-05 7:50
montu337724-May-05 7:50 
Hi,

i had implemented as you said above,main problem is that i can't just declare method otherwise i have to define that method and class as abstract and if i am defining that class as abstract then in the form i can't make the new instance of that class becoz we can't create instance of abstract class.

second way,simply i can directly create instance of second class that inherited base class in that case why had created base class that is also question.Here i am sending u one simple code what i am doing.

//this is base class
public abstract class ToolBase
{

public abstract void mnuNewProj_Click(object sender, System.EventArgs e);

}

//second class that inherits toolbase class
public class InputComponent:ToolBase
{
public override void mnuNewProj_Click(object sender, EventArgs e)
{
//done implementation
}
}

but from main form i can't able to create new instance of Toolbase class becoz it's abstract.
Now can you tell me some more over here.I really like this design but need some more clearification.

thanks you a lot in advance.

GeneralRe: building architecture. Pin
Christian Graus24-May-05 11:45
protectorChristian Graus24-May-05 11:45 
GeneralRe: building architecture. Pin
montu337724-May-05 23:26
montu337724-May-05 23:26 
GeneralRe: building architecture. Pin
Christian Graus25-May-05 12:48
protectorChristian Graus25-May-05 12:48 
GeneralIncorrect value returned from this.getType ().Assembly.Location for C# COM-addin Pin
Barry G10-May-05 18:27
Barry G10-May-05 18:27 
GeneralRe: Incorrect value returned from this.getType ().Assembly.Location for C# COM-addin Pin
Barry G11-May-05 18:26
Barry G11-May-05 18:26 
QuestionHow to create a reminder notification in Pocket PC Pin
Member 19358809-May-05 21:03
Member 19358809-May-05 21:03 
QuestionHow to find a pattern in an image Pin
Tad McClellan9-May-05 16:40
professionalTad McClellan9-May-05 16:40 
AnswerRe: How to find a pattern in an image Pin
Christian Graus9-May-05 17:19
protectorChristian Graus9-May-05 17:19 
AnswerRe: How to find a pattern in an image Pin
abcxyz8224-May-05 4:56
abcxyz8224-May-05 4:56 
GeneralA few questions regarding Whidbey Beta 2 Pin
Carl Mercier9-May-05 12:35
Carl Mercier9-May-05 12:35 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
MoustafaS9-May-05 12:43
MoustafaS9-May-05 12:43 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
Carl Mercier9-May-05 13:18
Carl Mercier9-May-05 13:18 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
Christian Graus9-May-05 13:20
protectorChristian Graus9-May-05 13:20 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
Christian Graus9-May-05 13:19
protectorChristian Graus9-May-05 13:19 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
Carl Mercier9-May-05 13:47
Carl Mercier9-May-05 13:47 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
Christian Graus9-May-05 13:50
protectorChristian Graus9-May-05 13:50 
GeneralRe: A few questions regarding Whidbey Beta 2 Pin
Carl Mercier10-May-05 2:52
Carl Mercier10-May-05 2:52 

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.