private void butHeaders_Click(object sender, EventArgs e) { FormWikiTableHeaders FormWTH = new FormWikiTableHeaders(); FormWTH.ColNames = ColNames; //Just passes the reference to the list in memory, so no need to "collect" the changes afterwords. FormWTH.ColWidths = ColWidths; //Just passes the reference to the list in memory, so no need to "collect" the changes afterwords. FormWTH.ShowDialog(); FillGrid(); }
private void butHeaders_Click(object sender,EventArgs e) { FormWikiTableHeaders FormWTH=new FormWikiTableHeaders(); FormWTH.ColNames=ColNames;//Just passes the reference to the list in memory, so no need to "collect" the changes afterwords. FormWTH.ColWidths=ColWidths;//Just passes the reference to the list in memory, so no need to "collect" the changes afterwords. FormWTH.ShowDialog(); FillGrid(); }