Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
AnswerRe: Exclusive Code Execution, determine Memory Consumption of a Class Pin
Richard Deeming28-Jul-16 1:41
mveRichard Deeming28-Jul-16 1:41 
PraiseRe: Exclusive Code Execution, determine Memory Consumption of a Class Pin
User 1106097928-Jul-16 2:06
User 1106097928-Jul-16 2:06 
QuestionWhy this Error Contract Kind come on Pin
Member 1228884027-Jul-16 6:41
Member 1228884027-Jul-16 6:41 
AnswerRe: Why this Error Contract Kind come on Pin
Richard Deeming27-Jul-16 7:24
mveRichard Deeming27-Jul-16 7:24 
QuestionFire onproperty change event on outer class. When a property of a inner class is updated Pin
rudedog127-Jul-16 4:47
rudedog127-Jul-16 4:47 
AnswerRe: Fire onproperty change event on outer class. When a property of a inner class is updated Pin
Richard MacCutchan27-Jul-16 4:53
mveRichard MacCutchan27-Jul-16 4:53 
AnswerRe: Fire onproperty change event on outer class. When a property of a inner class is updated Pin
BillWoodruff27-Jul-16 19:13
professionalBillWoodruff27-Jul-16 19:13 
GeneralRe: Fire onproperty change event on outer class. When a property of a inner class is updated Pin
rudedog128-Jul-16 3:49
rudedog128-Jul-16 3:49 
I have a class I define as inner class that contains 2 integer properties. This class is a nested class of a outer class which uses the inner class. The inner class is not a base class for the outer class. I am using these classes to create a type of timer. Timer has begin and end fields. I have created a singleton class that will read in information including beginning and end integer values. That will be used to populate the fields of the begin and end properties. The singleton class will increment through the begin and end range and update a textbox on a Form User interface. During the loop in the Singleton if triggers the onproperty change event of the property of the Inner class, however the onproperty change event of the outer class is not triggered. The onproperty change event of the outer class is the one needed to trigger the updates to the UI. I need to trigger the onproperty change event of the property of the outer class, when the onproperty change event of the inner class is triggered, to update my User Interface.

Class Inner
{
int begin;

int end;

public int Begin
{
get {return begin;}

set
{
begin = value;
OnPropertyChanged("Begin");

}

public int End
{
get {return end;}

set
{
End = value;
OnPropertyChanged("End");

}


}
}

Class Outer
{
Inner timer1;

Inner timer2;

public Inner Timer1
{
get {return timer1;}

set
{
timer1= value;
OnPropertyChanged("Timer1");

}

public Inner Timer2
{
get {return timer2;}

set
{
timer2= value;
OnPropertyChanged("Timer2");

}



}
GeneralRe: Fire onproperty change event on outer class. When a property of a inner class is updated Pin
BillWoodruff29-Jul-16 2:54
professionalBillWoodruff29-Jul-16 2:54 
QuestionHow do I drag'n'drop components from the toolbox instead of writing code? Pin
arnold_w26-Jul-16 23:32
arnold_w26-Jul-16 23:32 
AnswerRe: How do I drag'n'drop components from the toolbox instead of writing code? Pin
OriginalGriff27-Jul-16 0:32
mveOriginalGriff27-Jul-16 0:32 
GeneralRe: How do I drag'n'drop components from the toolbox instead of writing code? Pin
arnold_w27-Jul-16 0:41
arnold_w27-Jul-16 0:41 
GeneralRe: How do I drag'n'drop components from the toolbox instead of writing code? Pin
OriginalGriff27-Jul-16 0:50
mveOriginalGriff27-Jul-16 0:50 
QuestionSystem.web.script.serialization not available to add in web api Pin
Raghavendra.Kodimala25-Jul-16 23:19
professionalRaghavendra.Kodimala25-Jul-16 23:19 
AnswerRe: System.web.script.serialization not available to add in web api Pin
Richard Deeming26-Jul-16 1:42
mveRichard Deeming26-Jul-16 1:42 
AnswerRe: System.web.script.serialization not available to add in web api Pin
F-ES Sitecore26-Jul-16 23:30
professionalF-ES Sitecore26-Jul-16 23:30 
Questionrandom wrong when in loop? Pin
Member 1243103925-Jul-16 20:48
Member 1243103925-Jul-16 20:48 
AnswerRe: random wrong when in loop? Pin
Richard MacCutchan25-Jul-16 21:00
mveRichard MacCutchan25-Jul-16 21:00 
AnswerRe: random wrong when in loop? Pin
Mehmet Coban29-Jul-16 5:50
Mehmet Coban29-Jul-16 5:50 
QuestionClickOnce app launching separate executable being detected as a virus Pin
MichaelC#Noob25-Jul-16 9:44
professionalMichaelC#Noob25-Jul-16 9:44 
AnswerRe: ClickOnce app launching separate executable being detected as a virus Pin
Dave Kreskowiak25-Jul-16 12:51
mveDave Kreskowiak25-Jul-16 12:51 
GeneralRe: ClickOnce app launching separate executable being detected as a virus Pin
MichaelC#Noob25-Jul-16 14:43
professionalMichaelC#Noob25-Jul-16 14:43 
GeneralRe: ClickOnce app launching separate executable being detected as a virus Pin
OriginalGriff25-Jul-16 19:04
mveOriginalGriff25-Jul-16 19:04 
GeneralRe: ClickOnce app launching separate executable being detected as a virus Pin
MichaelC#Noob26-Jul-16 10:39
professionalMichaelC#Noob26-Jul-16 10:39 
AnswerRe: ClickOnce app launching separate executable being detected as a virus Pin
Bernhard Hiller25-Jul-16 21:35
Bernhard Hiller25-Jul-16 21:35 

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.