Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: source code Pin
om_metab17-Feb-11 12:36
om_metab17-Feb-11 12:36 
GeneralRe: source code Pin
Not Active17-Feb-11 13:27
mentorNot Active17-Feb-11 13:27 
Questionabstract, override and the Visual Studio Designer Pin
Dewald15-Feb-11 21:52
Dewald15-Feb-11 21:52 
AnswerRe: abstract, override and the Visual Studio Designer Pin
Luc Pattyn16-Feb-11 0:47
sitebuilderLuc Pattyn16-Feb-11 0:47 
JokeRe: abstract, override and the Visual Studio Designer Pin
Wayne Gaylard16-Feb-11 1:17
professionalWayne Gaylard16-Feb-11 1:17 
GeneralRe: abstract, override and the Visual Studio Designer Pin
Luc Pattyn16-Feb-11 1:57
sitebuilderLuc Pattyn16-Feb-11 1:57 
GeneralRe: abstract, override and the Visual Studio Designer Pin
Dewald16-Feb-11 1:56
Dewald16-Feb-11 1:56 
AnswerRe: abstract, override and the Visual Studio Designer Pin
Luc Pattyn16-Feb-11 2:04
sitebuilderLuc Pattyn16-Feb-11 2:04 
you could consider an interface instead:

public interface IMySpecialTabPageFunctionality {
       void Process();
       void Cancel();
       bool LoseFocus();
       void Populate(int identifier);
       event EventHandler PageClosed;
}


then do

IMySpecialTabPageFunctionality tabPage=tabControl1.TabPages[0] as IMySpecialTabPageFunctionality;
tabPage.Process();


Apply the above either to a TabPage or to a UserControl intended to be put onto a TabPage.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: abstract, override and the Visual Studio Designer Pin
Dewald16-Feb-11 2:37
Dewald16-Feb-11 2:37 
GeneralRe: abstract, override and the Visual Studio Designer Pin
Luc Pattyn16-Feb-11 2:51
sitebuilderLuc Pattyn16-Feb-11 2:51 
GeneralRe: abstract, override and the Visual Studio Designer Pin
Dewald16-Feb-11 4:05
Dewald16-Feb-11 4:05 
AnswerRe: abstract, override and the Visual Studio Designer Pin
PIEBALDconsult16-Feb-11 1:48
mvePIEBALDconsult16-Feb-11 1:48 
GeneralRe: abstract, override and the Visual Studio Designer Pin
Dewald16-Feb-11 2:02
Dewald16-Feb-11 2:02 
QuestionWrite contents of dataset into email Pin
<<Tash18>>15-Feb-11 18:56
<<Tash18>>15-Feb-11 18:56 
AnswerRe: Write contents of dataset into email Pin
Hum Dum15-Feb-11 20:07
Hum Dum15-Feb-11 20:07 
GeneralRe: Write contents of dataset into email Pin
<<Tash18>>15-Feb-11 20:13
<<Tash18>>15-Feb-11 20:13 
GeneralRe: Write contents of dataset into email Pin
Hum Dum15-Feb-11 20:15
Hum Dum15-Feb-11 20:15 
GeneralRe: Write contents of dataset into email Pin
<<Tash18>>15-Feb-11 20:27
<<Tash18>>15-Feb-11 20:27 
GeneralRe: Write contents of dataset into email Pin
<<Tash18>>15-Feb-11 21:39
<<Tash18>>15-Feb-11 21:39 
GeneralRe: Write contents of dataset into email Pin
Hum Dum15-Feb-11 21:55
Hum Dum15-Feb-11 21:55 
AnswerRe: Write contents of dataset into email Pin
Luc Pattyn16-Feb-11 0:50
sitebuilderLuc Pattyn16-Feb-11 0:50 
AnswerRe: Write contents of dataset into email Pin
PIEBALDconsult16-Feb-11 1:51
mvePIEBALDconsult16-Feb-11 1:51 
Questionget relative path Pin
igalep13215-Feb-11 12:18
igalep13215-Feb-11 12:18 
AnswerRe: get relative path [modified] Pin
Luc Pattyn15-Feb-11 12:38
sitebuilderLuc Pattyn15-Feb-11 12:38 
GeneralRe: get relative path Pin
igalep13215-Feb-11 12:42
igalep13215-Feb-11 12:42 

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.