public CustomMaterialUserInterfaceSection() { InitializeComponent(); m_view_model = new CustomMaterialViewModel(this); subNodeControl.Section = this; //Hook up the data display to the changed event DataChanged += UserInterfaceDisplayData; ControlAdded += CustomMaterialUserInterfaceSection_ControlAdded; }
public CustomMaterialUserInterfaceSection2() { InitializeComponent(); m_view_model = new CustomMaterialViewModel(this); }