G
Guest
Form1() has a selection menu for the user. Form1() calls Form2() with menu
selections. Form2 opens a Crystal Report viewer. How do I this.Close()
the Form1 properly so the user doesn't have access to the previous selection
menu when the CR viewer opens. Currently, the menu stays open behind the
viewer. Or, am I missing something.
//button on Form1
private void okButton_Click(...)
{
Form2 form2 = new Form2(selections);
form2.ShowDialog(); //allows CR viewer to open
}
selections. Form2 opens a Crystal Report viewer. How do I this.Close()
the Form1 properly so the user doesn't have access to the previous selection
menu when the CR viewer opens. Currently, the menu stays open behind the
viewer. Or, am I missing something.
//button on Form1
private void okButton_Click(...)
{
Form2 form2 = new Form2(selections);
form2.ShowDialog(); //allows CR viewer to open
}