Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
GeneralRe: Path of running application. Pin
Derek Bartram30-Apr-08 6:27
Derek Bartram30-Apr-08 6:27 
GeneralRe: Path of running application. Pin
Member 404498830-Apr-08 10:25
Member 404498830-Apr-08 10:25 
GeneralRe: Path of running application. Pin
Derek Bartram1-May-08 1:59
Derek Bartram1-May-08 1:59 
GeneralRe: Path of running application. Pin
Member 40449881-May-08 9:15
Member 40449881-May-08 9:15 
GeneralRe: Path of running application. Pin
Derek Bartram1-May-08 9:48
Derek Bartram1-May-08 9:48 
GeneralGet/Set object properties using 'System.Reflection' Pin
Lea Hayes25-Apr-08 13:10
Lea Hayes25-Apr-08 13:10 
GeneralRe: Get/Set object properties using 'System.Reflection' Pin
Derek Bartram26-Apr-08 7:47
Derek Bartram26-Apr-08 7:47 
GeneralRe: Get/Set object properties using 'System.Reflection' Pin
Lea Hayes27-Apr-08 4:10
Lea Hayes27-Apr-08 4:10 
Hi,

I require this functionality for my undo/redo system. When an object property is changed via a property grid control, a property action is created. At the moment I am storing the property component along with the previous and new values. At various stages my program replaces some of these components, and so when the undo/redo action is later executed, the action is not actually undone to the current object. So instead I have done a trial which generates a property name string from the object by enumerating through the parent items of the changed property grid item. Then later this same string can be used to access the property again (using the method I posted previously).

I have read through the article which you have very kindly posted, however I do not think I can apply it for this particular application because some of the properties exist within the .NET runtime, and others are either of a dynamic variety, or exist within my C# code.

Thank you for your advise, it is greatly appreciated.

Lea Hayes
GeneralRe: Get/Set object properties using 'System.Reflection' Pin
Derek Bartram27-Apr-08 6:52
Derek Bartram27-Apr-08 6:52 
GeneralLoading an C# DLL at runtime with C# Pin
FreewareFire25-Apr-08 12:47
FreewareFire25-Apr-08 12:47 
GeneralRe: Loading an C# DLL at runtime with C# Pin
Thomas Stockwell25-Apr-08 13:55
professionalThomas Stockwell25-Apr-08 13:55 
GeneralRe: Loading an C# DLL at runtime with C# Pin
Derek Bartram26-Apr-08 7:48
Derek Bartram26-Apr-08 7:48 
GeneralCodeMethodInvokeExpression problem, Write dt.Load(dr) code currectly. Pin
hdv21225-Apr-08 11:47
hdv21225-Apr-08 11:47 
QuestionVisual Studio 2008: Design- Data Grid View Pin
Hamid intact25-Apr-08 11:30
Hamid intact25-Apr-08 11:30 
GeneralUsing System.IO.Packaging Pin
Wjousts25-Apr-08 9:29
Wjousts25-Apr-08 9:29 
GeneralRe: Using System.IO.Packaging Pin
KaptinKrunch25-Apr-08 10:37
KaptinKrunch25-Apr-08 10:37 
GeneralRe: Using System.IO.Packaging Pin
Wjousts25-Apr-08 10:57
Wjousts25-Apr-08 10:57 
QuestionHow I use an Applicaton Role? Pin
aecordoba25-Apr-08 9:08
aecordoba25-Apr-08 9:08 
GeneralRe: How I use an Applicaton Role? Pin
KaptinKrunch25-Apr-08 10:27
KaptinKrunch25-Apr-08 10:27 
GeneralRe: How I use an Applicaton Role? Pin
aecordoba25-Apr-08 10:59
aecordoba25-Apr-08 10:59 
Generalhelp plz Pin
hhani25-Apr-08 8:08
hhani25-Apr-08 8:08 
GeneralRe: help plz Pin
carbon_golem25-Apr-08 8:26
carbon_golem25-Apr-08 8:26 
GeneralRe: help plz Pin
Colin Angus Mackay25-Apr-08 8:56
Colin Angus Mackay25-Apr-08 8:56 
GeneralRe: help plz Pin
Wjousts25-Apr-08 10:36
Wjousts25-Apr-08 10:36 
GeneralRe: help plz Pin
Colin Angus Mackay25-Apr-08 11:20
Colin Angus Mackay25-Apr-08 11:20 

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.