Click here to Skip to main content
15,905,963 members
Home / Discussions / C#
   

C#

 
AnswerRe: ANDing, XOR 2 images Pin
Christian Graus19-Sep-05 11:40
protectorChristian Graus19-Sep-05 11:40 
QuestionAbout filealign compiler option Pin
Dario Solera19-Sep-05 7:12
Dario Solera19-Sep-05 7:12 
AnswerRe: About filealign compiler option Pin
leppie19-Sep-05 7:19
leppie19-Sep-05 7:19 
AnswerRe: About filealign compiler option Pin
Dave Kreskowiak19-Sep-05 8:05
mveDave Kreskowiak19-Sep-05 8:05 
GeneralRe: About filealign compiler option Pin
Dario Solera19-Sep-05 21:51
Dario Solera19-Sep-05 21:51 
Questioncalling a function in reflection Pin
Yoyosch19-Sep-05 6:21
Yoyosch19-Sep-05 6:21 
AnswerRe: calling a function in reflection Pin
leppie19-Sep-05 7:13
leppie19-Sep-05 7:13 
AnswerRe: calling a function in reflection Pin
Andy Moore19-Sep-05 7:28
Andy Moore19-Sep-05 7:28 
You could do something like this.

<code>
public class B
{
public void Show()
{
System.Windows.Forms.MessageBox.Show( "B.Show called!" );
}
}
public class A
{
private B mB;
public B MemberB
{
get
{
return ( this.mB );
}
set
{
this.mB = value;
}
}
public A()
{
this.mB = new B();
}
}

public Class Tester
{
private A mA;

public void Do()
{
object lB;

lB = this.mA.GetType().GetProperty("MemberB").GetValue(this.mA, null );

lB.GetType().InvokeMember("Show",System.Reflection.BindingFlags.InvokeMethod, null, lB, new object[] { } );


}
}
</code>


I hope this helps.

<i>Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons </i>
QuestionRe: calling a function in reflection Pin
Yoyosch20-Sep-05 6:41
Yoyosch20-Sep-05 6:41 
QuestionDataGrid values Pin
zaboboa19-Sep-05 6:05
zaboboa19-Sep-05 6:05 
QuestionTextbox visibility and data binding Pin
Wjousts19-Sep-05 6:01
Wjousts19-Sep-05 6:01 
QuestionSorting Arraylists Twice Pin
jgallen2319-Sep-05 5:30
jgallen2319-Sep-05 5:30 
AnswerRe: Sorting Arraylists Twice Pin
Stefan Troschuetz19-Sep-05 7:50
Stefan Troschuetz19-Sep-05 7:50 
Questioncombo boxes not updating Pin
Tom Wright19-Sep-05 5:22
Tom Wright19-Sep-05 5:22 
AnswerRe: combo boxes not updating Pin
KaptinKrunch19-Sep-05 7:21
KaptinKrunch19-Sep-05 7:21 
QuestionOptions Design Pin
OmegaSupreme19-Sep-05 4:58
OmegaSupreme19-Sep-05 4:58 
QuestionRegular Expression for images Pin
brunoconde19-Sep-05 3:57
brunoconde19-Sep-05 3:57 
AnswerRe: Regular Expression for images Pin
User 665819-Sep-05 4:25
User 665819-Sep-05 4:25 
QuestionCyclic Visual Pin
PHDENG8119-Sep-05 3:28
PHDENG8119-Sep-05 3:28 
Questionsave file dialog Pin
Mridang Agarwalla19-Sep-05 2:48
Mridang Agarwalla19-Sep-05 2:48 
AnswerRe: save file dialog Pin
enjoycrack19-Sep-05 2:52
enjoycrack19-Sep-05 2:52 
Questionlatebinding Word Pin
KKuehnberger19-Sep-05 2:47
KKuehnberger19-Sep-05 2:47 
AnswerRe: latebinding Word Pin
John Fisher19-Sep-05 6:07
John Fisher19-Sep-05 6:07 
GeneralRe: latebinding Word Pin
KKuehnberger19-Sep-05 6:48
KKuehnberger19-Sep-05 6:48 
GeneralRe: latebinding Word Pin
John Fisher19-Sep-05 13:57
John Fisher19-Sep-05 13: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.