TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
tgd
NA
14
0
CollectionBase, PictureBox, Panel Derived Controls - Link Problem
Jan 8 2004 11:22 AM
My (big) problem, pls help: 2 derived controls and one from CollectionBase: 1) public class ChartGrid : System.Windows.Forms.PictureBox public ChartGrid(Point[] intCol) {...} private void DrawSurface(object sender, PaintEventArgs p) {...} //array of ChartGrid... 2) public class ChartGridArray : System.Collections.CollectionBase public ChartGrid1 AddNewChartGrid(Point[] intValue) { ChartGrid1 nextChart = new ChartGrid1(intValue); ... this.List.Add(nextChart); ownerPanel.Controls.Add(nextChart); //add this control on a Panel ... return nextChart; } public ChartGrid1 this [int Index] { get { return (ChartGrid1) this.List[Index]; } } 3) public class ChartGridPanel1 : System.Windows.Forms.Panel public ChartGridPanel1(double[][] mtrxData, int nrLines, int nrCol) { ... ChartGridArray arrGrafic = new ChartGridArray(this); ... for (int j=0;j
Reply
Answers (
0
)
C# Quake II
Redisplaying graphics objects when form is maximized??