public ImageForm(GraphControl graph) { // // Required for Windows Form Designer support // InitializeComponent(); this.graph = graph; this.picture = new ImageControl(); this.picture.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.picture.Location = new System.Drawing.Point(0, 35); this.picture.Name = "picture"; this.picture.Size = new System.Drawing.Size(440, 210); this.picture.TabIndex = 3; this.picture.TabStop = false; this.Controls.Add(this.picture); }