To access this form in the code module I am usingpublic partial class Form1 : Form
{
public Form1()
{
// The InitializeComponent() call is required for Windows Forms designer support.
InitializeComponent();
// TODO: Add constructor code after the InitializeComponent() call.
}
public void Form1_Load(object sender, EventArgs e)
{
ListBox list = new ListBox();
list.Items.Add("sunday");
}
}
Form1 st = new Form1();
st.ShowDialog();