protected void CrossThreadShow(Form f) { if (this.InvokeRequired) { CrossThreadShowDelegate d = new CrossThreadShowDelegate(this.CrossThreadShow); this.Invoke(d, new Object[] { f }); } else { f.Show(); } }
protected void CrossThreadShow(Form f) { if (this.InvokeRequired) { CrossThreadShowDelegate d = new CrossThreadShowDelegate(this.CrossThreadShow); this.Invoke(d, new Object[] { f }); } else { f.Show(); } }