void processTreeView_Expanded(object sender, TreeBranchExpandedEventArgs e) { processTreeView.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent); }