Click here to Skip to main content
15,844,673 members
Home / Discussions / C#
   

C#

 
GeneralRe: Array question! Pin
Ed.Poore19-Jan-07 13:38
Ed.Poore19-Jan-07 13:38 
AnswerRe: Array question! Pin
David Domingues22-Jan-07 6:31
David Domingues22-Jan-07 6:31 
QuestionArray.getLength() vs Array.getUpperBound() Pin
C++NewBe19-Jan-07 9:08
C++NewBe19-Jan-07 9:08 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
jchigg200019-Jan-07 9:16
jchigg200019-Jan-07 9:16 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
Guffa19-Jan-07 9:17
Guffa19-Jan-07 9:17 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
Dustin Metzgar19-Jan-07 9:18
Dustin Metzgar19-Jan-07 9:18 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
C++NewBe19-Jan-07 9:29
C++NewBe19-Jan-07 9:29 
QuestionSerializing in RESX file? Pin
Barguast219-Jan-07 8:59
Barguast219-Jan-07 8: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 8:44
hdv21219-Jan-07 8:44 
QuestionRe: how to play video from stream ? Pin
calabe22-Jan-07 23:29
calabe22-Jan-07 23:29 
QuestionAuthorization Problem Pin
Semion_N19-Jan-07 7:56
Semion_N19-Jan-07 7:56 
AnswerRe: Authorization Problem Pin
led mike19-Jan-07 8:20
led mike19-Jan-07 8:20 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 8:37
Semion_N19-Jan-07 8:37 
GeneralRe: Authorization Problem Pin
Abisodun19-Jan-07 9:06
Abisodun19-Jan-07 9:06 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 9:39
Semion_N19-Jan-07 9:39 
GeneralRe: Authorization Problem Pin
Abisodun20-Jan-07 4:26
Abisodun20-Jan-07 4:26 
AnswerRe: Authorization Problem Pin
Semion_N19-Jan-07 9:47
Semion_N19-Jan-07 9:47 
GeneralRe: Authorization Problem Pin
Dan Neely19-Jan-07 9:55
Dan Neely19-Jan-07 9:55 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 10:11
Semion_N19-Jan-07 10:11 
GeneralRe: Authorization Problem Pin
Rob Graham19-Jan-07 10:46
Rob Graham19-Jan-07 10:46 
GeneralRe: Authorization Problem Pin
Dan Neely19-Jan-07 10:50
Dan Neely19-Jan-07 10:50 
QuestionCan one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 7:42
TrooperIronMan19-Jan-07 7:42 
AnswerRe: Can one XML file hold more than one C# object? Pin
led mike19-Jan-07 8:10
led mike19-Jan-07 8:10 
GeneralRe: Can one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 9:15
TrooperIronMan19-Jan-07 9:15 
GeneralRe: Can one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 14:02
TrooperIronMan19-Jan-07 14: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.