Mahmoud Salem

Mahmoud Salem

  • NA
  • 26
  • 1.1k

the new cols width changed when replaced tablelayoutpanel c#

Jul 25 2020 10:42 AM
I use this code but don't work for(int i=0;i;i++){ control c1=tbl.getcontrolfromposition(1,i); control c2=tbl.getcontrolfromposition(2,i); tablelayoutpanelcellposition cel1=tbl.getcellposition(c1); tablelayoutpanelcellposition cel2=tbl.getcellposition(c2); tbl.setcellposition(c1,cel2); tbl.setcellposition(c2,cel1); }

Answers (1)