delegate void Dstr(string s); public void showDGV(string s) { if (Controls[s].InvokeRequired) { Dstr h = new Dstr(showDGV); this.Invoke(h, new object[] { s }); } else { Controls[s].Show(); } }
delegate void Dstr(string s); public void DGVRowsClear(string s) { if (Controls[s].InvokeRequired) { Dstr h = new Dstrstr(DGVRowsClear); this.Invoke(h, new object[] { s }); } else { Controls[s].Rows.Clear();//there is problem } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)