コード例 #1
0
 public static void ApplyLook(NestedLayerManager nlm)
 {
     using (CuiUpdater cuiUpdater = CuiUpdater.GetInstance())
     {
         nlm.BackColor = cuiUpdater.GetMaxColor(0);
     }
 }
コード例 #2
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;
     }
 }
コード例 #3
0
 public override object CreateDockableContent()
 {
     NestedLayerManager = new NestedLayerManager();
     return(NestedLayerManager);
 }