Click here to Skip to main content
15,918,889 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Setting Style (SetStlye Method) With API Pin
THEMYTH25-Apr-05 19:15
THEMYTH25-Apr-05 19:15 
GeneralRe: Setting Style (SetStlye Method) With API Pin
Peter Ritchie26-Apr-05 18:13
Peter Ritchie26-Apr-05 18:13 
GeneralRe: Setting Style (SetStlye Method) With API Pin
THEMYTH27-Apr-05 7:40
THEMYTH27-Apr-05 7:40 
GeneralRe: Setting Style (SetStlye Method) With API Pin
HumanOsc28-Apr-05 5:53
HumanOsc28-Apr-05 5:53 
GeneralRe: Setting Style (SetStlye Method) With API Pin
THEMYTH28-Apr-05 9:30
THEMYTH28-Apr-05 9:30 
GeneralRe: Setting Style (SetStlye Method) With API Pin
HumanOsc28-Apr-05 5:18
HumanOsc28-Apr-05 5:18 
GeneralRe: Setting Style (SetStlye Method) With API Pin
THEMYTH28-Apr-05 9:34
THEMYTH28-Apr-05 9:34 
GeneralRe: Setting Style (SetStlye Method) With API Pin
HumanOsc28-Apr-05 22:19
HumanOsc28-Apr-05 22:19 
GeneralNet.Framework 1 to 2 and VS 2003 Pin
alexdg0422-Apr-05 20:40
alexdg0422-Apr-05 20:40 
GeneralRe: Net.Framework 1 to 2 and VS 2003 Pin
Peter Ritchie24-Apr-05 9:08
Peter Ritchie24-Apr-05 9:08 
GeneralRe: Net.Framework 1 to 2 and VS 2003 Pin
Dave Kreskowiak24-Apr-05 16:52
mveDave Kreskowiak24-Apr-05 16:52 
GeneralRe: Net.Framework 1 to 2 and VS 2003 Pin
MoustafaS27-Apr-05 10:37
MoustafaS27-Apr-05 10:37 
GeneralList installed screensavers Pin
Ryan McCauley22-Apr-05 12:34
Ryan McCauley22-Apr-05 12:34 
GeneralRe: List installed screensavers Pin
Peter Ritchie24-Apr-05 9:10
Peter Ritchie24-Apr-05 9:10 
GeneralRe: List installed screensavers Pin
Ryan McCauley25-Apr-05 4:55
Ryan McCauley25-Apr-05 4:55 
GeneralRe: List installed screensavers Pin
Peter Ritchie25-Apr-05 5:41
Peter Ritchie25-Apr-05 5:41 
GeneralRe: List installed screensavers Pin
Ryan McCauley25-Apr-05 7:23
Ryan McCauley25-Apr-05 7:23 
GeneralRe: List installed screensavers Pin
Peter Ritchie25-Apr-05 10:27
Peter Ritchie25-Apr-05 10:27 
GeneralGet object name Pin
CSharpDavid22-Apr-05 7:24
CSharpDavid22-Apr-05 7:24 
Using .NET CF does anyone know if its possible to get an objects instance name.
ie the variable name. I want to serialise a bunch of objects and it would be nice for each to include its nme with data to allow better versioning
eg
<br />
class MyObject<br />
{ .....<br />
<br />
public Write ( TextWriter tw)<br />
{<br />
    tw.Write( this.GetType().ToString() ); // this is ok<br />
    tw.Write( this.GetMyInstanceNameIfPossible ); // well ,you know what I mean<br />
}<br />


So I can later do
<br />
MyObject.Write( writer );<br />

This way when I read it in I can decide what variable to init. rather that rely on the order the data was written out.
I know I can just manually write the name, but this would be automatic and less prone to error.

Thanks

.nuetter
GeneralRe: Get object name Pin
turbochimp22-Apr-05 8:49
turbochimp22-Apr-05 8:49 
GeneralRe: Get object name Pin
Peter Ritchie24-Apr-05 9:30
Peter Ritchie24-Apr-05 9:30 
Generalreturn Bitmap.FromStream(new MemoryStream(buffer)) as Bitmap; Pin
rlinder21-Apr-05 11:32
rlinder21-Apr-05 11:32 
GeneralRe: return Bitmap.FromStream(new MemoryStream(buffer)) as Bitmap; Pin
Dave Kreskowiak21-Apr-05 16:04
mveDave Kreskowiak21-Apr-05 16:04 
GeneralRe: return Bitmap.FromStream(new MemoryStream(buffer)) as Bitmap; Pin
Robert Rohde21-Apr-05 19:52
Robert Rohde21-Apr-05 19:52 
GeneralRe: return Bitmap.FromStream(new MemoryStream(buffer)) as Bitmap; Pin
rlinder22-Apr-05 5:31
rlinder22-Apr-05 5:31 

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.