Hi Everyone,
Can I ask your Suggestion/Help about this query.
I am using the Crystal Reports in C#, I want CR to call in MenuStrip(Menu). Every time that I run the main form of my system. I want to call the the CR in menu.
My Menustrip calling for FORM, but I want to call the CR.
Form Form1;
private void institutionalToolStripMenuItem_Click(object sender, EventArgs e)
{
if (Form1 == null)
{
Form1 = new Form1();
Form1.FormClosed += new FormClosedEventHandler(Form1_FormClosed);
Form1.Show();
}
else {
Form1.Activate();
}
}
void Form1_FormClosed(object sender, FormClosedEventArgs e)
{
//throw new NotImplementedException();
Form1 = null;
}
Regards,
Darryl