Click here to Skip to main content
15,893,644 members
Home / Discussions / C#
   

C#

 
Questionmicrosoft agent Pin
Mohammed Elkholy7-Oct-06 5:19
Mohammed Elkholy7-Oct-06 5:19 
QuestionHow do I submit a book review? Pin
Wolf927-Oct-06 5:12
Wolf927-Oct-06 5:12 
QuestionHelp Parsing HTML/String Pin
UFGrayMatter7-Oct-06 4:02
UFGrayMatter7-Oct-06 4:02 
AnswerRe: Help Parsing HTML/String Pin
Guffa7-Oct-06 11:49
Guffa7-Oct-06 11:49 
GeneralRe: Help Parsing HTML/String Pin
UFGrayMatter7-Oct-06 11:57
UFGrayMatter7-Oct-06 11:57 
AnswerRe: Help Parsing HTML/String Pin
Guffa7-Oct-06 12:16
Guffa7-Oct-06 12:16 
QuestionInheriting from the tabcontrol Pin
thepersonof7-Oct-06 3:01
thepersonof7-Oct-06 3:01 
AnswerRe: Inheriting from the tabcontrol Pin
Captain See Sharp7-Oct-06 4:12
Captain See Sharp7-Oct-06 4:12 
thepersonof wrote:
How can I override SelectedTab to return a MyTabPage?


You can't change the return type or the method parameter types in an overload.

thepersonof wrote:
Seeing as it inherits from TabControl is there a nice way to make it so that I can convert it back into a MyTabPage without losing the added property?


<br />
TabControl tabs = new MyTabPage(); //ok since TabControl is a base class<br />


Since tab control does not have the PanelContained property you will not beable to use it in tabs
unless its cast back up to MyTabPage. Even though the compatible TabControl contains a MyTabPage the PanelContained property will not be exposed. You will have to do this.

<br />
((MyTabPage)tabs).PanelExposed<br />



█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██

GeneralRe: Inheriting from the tabcontrol Pin
thepersonof13-Oct-06 10:48
thepersonof13-Oct-06 10:48 
QuestionFiles in folder Pin
Mohammed Elkholy7-Oct-06 2:48
Mohammed Elkholy7-Oct-06 2:48 
AnswerRe: Files in folder Pin
DownBySpj7-Oct-06 3:06
DownBySpj7-Oct-06 3:06 
QuestionRaising events in C# Pin
Mahhouraaaaaa7-Oct-06 1:44
Mahhouraaaaaa7-Oct-06 1:44 
AnswerRe: Raising events in C# Pin
Captain See Sharp7-Oct-06 4:02
Captain See Sharp7-Oct-06 4:02 
QuestionGet time Pin
mehrdadc487-Oct-06 1:39
mehrdadc487-Oct-06 1:39 
Questiongetting error code Pin
DownBySpj7-Oct-06 1:28
DownBySpj7-Oct-06 1:28 
AnswerRe: getting error code Pin
Guffa7-Oct-06 1:55
Guffa7-Oct-06 1:55 
QuestionHow to Convert This Code to C# ? Pin
hdv2127-Oct-06 1:00
hdv2127-Oct-06 1:00 
AnswerRe: How to Convert This Code to C# ? Pin
Aashutoshkumar7-Oct-06 1:12
Aashutoshkumar7-Oct-06 1:12 
Questionsend mail Pin
vivek.s.vivek6-Oct-06 23:24
vivek.s.vivek6-Oct-06 23:24 
AnswerRe: send mail Pin
Rajesh_K_Sharma7-Oct-06 9:12
Rajesh_K_Sharma7-Oct-06 9:12 
QuestionFormBoardStyle Pin
ShadowRayz6-Oct-06 19:27
ShadowRayz6-Oct-06 19:27 
AnswerRe: FormBoardStyle Pin
Amar Chaudhary6-Oct-06 19:53
Amar Chaudhary6-Oct-06 19:53 
GeneralRe: FormBoardStyle Pin
leppie6-Oct-06 23:31
leppie6-Oct-06 23:31 
QuestionIterate over cells in DataGridViewColumn Pin
drinkingbird6-Oct-06 17:42
drinkingbird6-Oct-06 17:42 
QuestionCrystal Report Problem Pin
Saleh Mahmoud6-Oct-06 15:10
Saleh Mahmoud6-Oct-06 15:10 

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.