public static void UpdatePanel(Virus virus, ItemPanel panel) { IAsyncResult res; res = panel.BeginInvoke(new InvokeItemPanel(UpdatePanelX), new object[] { virus, panel }); panel.EndInvoke(res); }
public static void UpdatePanel(Virus virus, ItemPanel panel) { IAsyncResult res; res = panel.BeginInvoke(new InvokeItemPanel(UpdatePanelX), new object[] { virus, panel }); panel.EndInvoke(res); }