public FrmPopUpHistory(Form callingForm) { mainfrm = callingForm as FrmPSoCMain; InitializeComponent(); }