Click here to Skip to main content
16,005,048 members
Home / Discussions / C#
   

C#

 
GeneralRe: VS.NET Style Options Dialog Form Pin
Heath Stewart19-May-04 4:32
protectorHeath Stewart19-May-04 4:32 
GeneralRe: VS.NET Style Options Dialog Form Pin
Mister Slacker19-May-04 6:17
Mister Slacker19-May-04 6:17 
GeneralRe: VS.NET Style Options Dialog Form Pin
Roman Rodov19-May-04 16:40
Roman Rodov19-May-04 16:40 
QuestionDummies Question: Access to StatusBar from SubClass? Pin
Ariadne19-May-04 3:49
Ariadne19-May-04 3:49 
AnswerRe: Dummies Question: Access to StatusBar from SubClass? Pin
Stefan Troschuetz19-May-04 4:19
Stefan Troschuetz19-May-04 4:19 
AnswerRe: Dummies Question: Access to StatusBar from SubClass? Pin
Heath Stewart19-May-04 4:29
protectorHeath Stewart19-May-04 4:29 
GeneralRe: Dummies Question: Access to StatusBar from SubClass? Pin
Ariadne19-May-04 5:17
Ariadne19-May-04 5:17 
GeneralRe: Dummies Question: Access to StatusBar from SubClass? Pin
Heath Stewart19-May-04 6:03
protectorHeath Stewart19-May-04 6:03 
Parent is a property inheritted from Control. Any class that derives from Control inherits the Parent property, but this could be your frmMain (which, BTW, is a terrible name for a class - see Naming Guidelnes[^] in the .NET Framework SDK*), a Panel, or any container. The as keyword in C# basically performs an exception-handled cast so that it just returns null instead of throwing an InvalidCastException.

* Keeping with naming conventions within a framework or API (be it .NET, Java, MFC, etc.) is important. It fosters better development within that framework or API, among other things.

 

Microsoft MVP, Visual C#
My Articles
AnswerRe: Dummies Question: Access to StatusBar from SubClass? Pin
Stefan Troschuetz19-May-04 4:57
Stefan Troschuetz19-May-04 4:57 
AnswerRe: Dummies Question: Access to StatusBar from SubClass? Pin
pankajdaga19-May-04 8:01
pankajdaga19-May-04 8:01 
GeneralRe: Dummies Question: Access to StatusBar from SubClass? Pin
Ariadne19-May-04 9:33
Ariadne19-May-04 9:33 
GeneralCombo Box Pin
sreejith ss nair19-May-04 3:20
sreejith ss nair19-May-04 3:20 
GeneralRe: Combo Box Pin
Heath Stewart19-May-04 3:36
protectorHeath Stewart19-May-04 3:36 
GeneralRe: Combo Box Pin
sreejith ss nair19-May-04 3:54
sreejith ss nair19-May-04 3:54 
GeneralRe: Combo Box Pin
Heath Stewart19-May-04 3:57
protectorHeath Stewart19-May-04 3:57 
GeneralRe: Combo Box Pin
sreejith ss nair19-May-04 4:07
sreejith ss nair19-May-04 4:07 
GeneralRe: Combo Box Pin
Heath Stewart19-May-04 5:01
protectorHeath Stewart19-May-04 5:01 
GeneralRe: Combo Box Pin
sreejith ss nair19-May-04 16:52
sreejith ss nair19-May-04 16:52 
GeneralRe: Combo Box Pin
Heath Stewart19-May-04 18:33
protectorHeath Stewart19-May-04 18:33 
GeneralRe: Combo Box Pin
sreejith ss nair19-May-04 19:03
sreejith ss nair19-May-04 19:03 
GeneralRe: Combo Box Pin
Heath Stewart19-May-04 19:08
protectorHeath Stewart19-May-04 19:08 
GeneralSorting with Xsl Pin
bertcox19-May-04 3:16
bertcox19-May-04 3:16 
GeneralRe: Sorting with Xsl Pin
Heath Stewart19-May-04 3:39
protectorHeath Stewart19-May-04 3:39 
GeneralRe: Sorting with Xsl Pin
bertcox19-May-04 3:56
bertcox19-May-04 3:56 
GeneralRe: Sorting with Xsl Pin
Heath Stewart19-May-04 4:04
protectorHeath Stewart19-May-04 4:04 

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.