Hi Eric,
i have also experienced some strange behaviour from the deserializer.
It seems it doesn't distinsuish between certain syntactical
constructions.
The simplest solultion (to procede with the prorgam, not to understand
the reason) would be to use a method, not an indexer. The code is
generated "manually", so far i understand, so you can generate
this.myNumericUpDown6.MyMethod( this.foo_deserialize( 1).bar);
and implement
public your_type foo_deserialize( int ind){
return foo[ ind];
}
This will make the deserielizer happy, i suppose.
Regards,
DiRa
Eric Pierce schrieb:
> Also, I suppose I should mention that in both examples where I use foo.bar
> and foo[1].bar, bar is a public field of an object class of my creation and
[quoted text clipped - 40 lines]
> >
> > - Eric
Eric Pierce - 09 Jan 2006 20:19 GMT
Hi DiRa.
I got it working using your suggestion.
Someday I'd like to know how to get the deserializer to understand the
foo[1].bar expression but I'm up and running now.
Thanks for your reply,
- Eric
> Hi Eric,
>
[quoted text clipped - 66 lines]
>> >
>> > - Eric