Click here to Skip to main content
16,005,066 members
Home / Discussions / C#
   

C#

 
GeneralRe: Array question! Pin
Ed.Poore19-Jan-07 12:38
Ed.Poore19-Jan-07 12:38 
AnswerRe: Array question! Pin
David Domingues22-Jan-07 5:31
David Domingues22-Jan-07 5:31 
QuestionArray.getLength() vs Array.getUpperBound() Pin
C++NewBe19-Jan-07 8:08
C++NewBe19-Jan-07 8:08 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
jchigg200019-Jan-07 8:16
jchigg200019-Jan-07 8:16 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
Guffa19-Jan-07 8:17
Guffa19-Jan-07 8:17 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
Dustin Metzgar19-Jan-07 8:18
Dustin Metzgar19-Jan-07 8:18 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
C++NewBe19-Jan-07 8:29
C++NewBe19-Jan-07 8:29 
QuestionSerializing in RESX file? Pin
Barguast219-Jan-07 7:59
Barguast219-Jan-07 7:59 
Hey all,

I'm trying to create a working TypeConverter for a custom class, but it's causing me no end of problems. At the moment, everything seems to be working except for the code generation. Rather than initialising the objects in InitializeComponent, the designer is trying to do so via the Form's RESX file.

The relevant line in the InitializeComponent function looks like this;

this.graph1.Point = ((Root.Graph.GraphPoint)(resources.GetObject("graph1.Point")));

And in the RESX file, I have this;

<assembly alias="Graph" name="Graph, Version=1.0.0.39852, Culture=neutral, PublicKeyToken=null" />
<data name="graph1.Point" type="Root.Graph.GraphPoint, Graph">
<value>5, 3, 2, 1</value>
</data>

It doesn't actually compile by the way - it seems to break the RESX file. But that's not the issue. Does anyone have a clue as to why it might be serializing my object in the RESX file, and not just initializing it as normal in InitializeComponent?

Thanks.
Questionhow to play video from stream ? Pin
hdv21219-Jan-07 7:44
hdv21219-Jan-07 7:44 
QuestionRe: how to play video from stream ? Pin
calabe22-Jan-07 22:29
calabe22-Jan-07 22:29 
QuestionAuthorization Problem Pin
Semion_N19-Jan-07 6:56
Semion_N19-Jan-07 6:56 
AnswerRe: Authorization Problem Pin
led mike19-Jan-07 7:20
led mike19-Jan-07 7:20 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 7:37
Semion_N19-Jan-07 7:37 
GeneralRe: Authorization Problem Pin
Abisodun19-Jan-07 8:06
Abisodun19-Jan-07 8:06 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 8:39
Semion_N19-Jan-07 8:39 
GeneralRe: Authorization Problem Pin
Abisodun20-Jan-07 3:26
Abisodun20-Jan-07 3:26 
AnswerRe: Authorization Problem Pin
Semion_N19-Jan-07 8:47
Semion_N19-Jan-07 8:47 
GeneralRe: Authorization Problem Pin
Dan Neely19-Jan-07 8:55
Dan Neely19-Jan-07 8:55 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 9:11
Semion_N19-Jan-07 9:11 
GeneralRe: Authorization Problem Pin
Rob Graham19-Jan-07 9:46
Rob Graham19-Jan-07 9:46 
GeneralRe: Authorization Problem Pin
Dan Neely19-Jan-07 9:50
Dan Neely19-Jan-07 9:50 
QuestionCan one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 6:42
TrooperIronMan19-Jan-07 6:42 
AnswerRe: Can one XML file hold more than one C# object? Pin
led mike19-Jan-07 7:10
led mike19-Jan-07 7:10 
GeneralRe: Can one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 8:15
TrooperIronMan19-Jan-07 8:15 
GeneralRe: Can one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 13:02
TrooperIronMan19-Jan-07 13:02 

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.