public LayerManagerDlg() { InitializeComponent(); LayerList.SetItemHeight(24); EXColumnHeader layer_icon = new EXColumnHeader("", 36); LayerList.Columns.Add(layer_icon); LayerList.Columns.Add(new EXEditableColumnHeader("工作层", 300)); EXBoolColumnHeader active_icon = new EXBoolColumnHeader("激活", 48); active_icon.Editable = true; active_icon.TrueImage = NexusEditor.Properties.Resources.active; active_icon.FalseImage = NexusEditor.Properties.Resources.disactive; LayerList.Columns.Add(active_icon); EXBoolColumnHeader vis_icon = new EXBoolColumnHeader("渲染", 48); vis_icon.Editable = true; vis_icon.TrueImage = NexusEditor.Properties.Resources.visible; vis_icon.FalseImage = NexusEditor.Properties.Resources.disactive; LayerList.Columns.Add(vis_icon); EXBoolColumnHeader lock_icon = new EXBoolColumnHeader("冻结", 48); lock_icon.Editable = true; lock_icon.TrueImage = NexusEditor.Properties.Resources.lock_layer; lock_icon.FalseImage = NexusEditor.Properties.Resources.disactive; LayerList.Columns.Add(lock_icon); }