Home > Net >  Prawns for help, please help me to look at, thank you
Prawns for help, please help me to look at, thank you

Time:10-07

After such a demand, existing point button, a new pop up a form, used to display qualified record contents, button will transmit the parameters to the new form, but now there is a problem: each time you press the pop up a new form, if the parameter change, whether in the original form is updated?
If written in the following, as long as famous as printpc form will play not to come out, I am now hoping to printpc form to update the display
 

Private Printpc Printpc;
Private void print_pc_Click (object sender, EventArgs e)
{
If (printpc==null | | printpc. IsDisposed)
{
Printpc=new printpc (currentpage, allpage);
Printpc. The Show ();
}
The else
{
Printpc. Activate ();
}
}


  •  Tags:  
  • C#
  • Related