the new cols width changed when replaced tablelayoutpanel c#
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);
}