Click here to Skip to main content
15,891,316 members

Comments by stephen.darling (Top 6 by date)

stephen.darling 3-Aug-11 12:25pm View    
Hi.
Thats what I though, however, nothing new is showing up in the toolbox panal in devStudio. I am using Microsoft Visual Studio 2010 Professional.

I have created the following class...
<pre>
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using OpenTK.OpenGL;
using OpenTK.OpenGL.Enums;

namespace CellSim
{
public abstract class OpenGLPanel : System.Windows.Forms.Panel
{
private OpenTK.GLControl glControl1;

etc.......
</pre>

But I cant seem to connect it to a panel, or add a panel that can use this class.

I coppied the class directly form anouther open source app, and it is working fine in that app. Also, my app builds without any errors?

Thank you,
Stephen
stephen.darling 3-Aug-11 10:39am View    
Thank you,

I have managed to derive the class, however, when I add a panal to my form, I still cant figure out how to connect it to this new class?

Thank you,
Steve
stephen.darling 2-Aug-11 15:49pm View    
Thank you, I think this is proberbly the best solution for my needs. Works for what I need at the moment, thank you again.
Stephen
stephen.darling 28-Jul-11 14:31pm View    
Hi.
Thank you, you now know what I mean.
However, in my real example, I will be using 50+ bytes, instead of the 6 in the above example.

Therefore long is no good, as my string should be encoded like...
00000-00000-00000-00000-00000-00000-0000 etc, over60 digits long

Does this help :)
Steve
stephen.darling 28-Jul-11 13:19pm View    
OK,

Lets say I create a byte array in hex of the following:

C7854ED1587CB87D

This would be represented as the following string of digits:

-4069760027219675011

so uint would be no good, but i do not want to use a bigint class

Does this make sense?

Steve