I’m using visual studio 2010, I want to create several OvalShapes from VB PowerPacks in a Windows Form C# Application, but I don’t want to drag them from the Toolbox instead I want to create them manually, the problem is that if I declared them as variables, they won’t appear in the Form, how can I make them appear, thanks…
Code:
using System;
using System.Collections.Generic;
System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using Microsoft.VisualBasic.PowerPacks;
using System.Windows.Forms;
namespace VB_PP
{
public partial class Form1 : Form
{
OvalShape[] OS_Arr;
public Form1()
{
InitializeComponent();
OS_Arr = new OvalShape[15]; //I will do some coding on the array of those OvalShapes,like move them with a Timer...
}
}
}
What you want is something like this :