protected void CallBeforeShow(BasePage page) { if (panel1.InvokeRequired) { CallBeforeShowCallback d = new CallBeforeShowCallback(CallBeforeShow); panel1.BeginInvoke(d, new object[] { page }); } else { page.BeforeShow(); } }
protected void CallBeforeShow(BasePage page) { if (panel1.InvokeRequired) { CallBeforeShowCallback d = new CallBeforeShowCallback(CallBeforeShow); panel1.BeginInvoke(d, new object[] { page }); } else { page.BeforeShow(); } }