public static void ApplyLook(NestedLayerManager nlm) { using (CuiUpdater cuiUpdater = CuiUpdater.GetInstance()) { nlm.BackColor = cuiUpdater.GetMaxColor(0); } }
public override void Execute(object parameter) { if (this.NestedLayerManager == null || this.NestedLayerManager != null && this.NestedLayerManager.IsDisposed) { this.NestedLayerManager = new NestedLayerManager(); this.MaxForm = new MaxForm(); this.MaxForm.Text = MaxCUIProperties.WindowTitle; XmlIO XmlIO = new XmlIO(MaxForm); this.MaxForm.Controls.Add(NestedLayerManager); this.MaxForm.ShowModeless(); } else { this.MaxForm.Close(); this.MaxForm = null; this.NestedLayerManager = null; } }
public override object CreateDockableContent() { NestedLayerManager = new NestedLayerManager(); return(NestedLayerManager); }