Event arguments for a FloatspaceCellAdding/FloatingCellRemoving events.
Inheritance: System.EventArgs
        /// <summary>
        /// Raises the type specific cell removed event determinated by the derived class.
        /// </summary>
        /// <param name="cell">Referecence to an existing cell being removed.</param>
        protected override void RaiseCellRemoved(KryptonWorkspaceCell cell)
        {
            // Generate event so the floatspace cell customization can be reversed.
            KryptonDockingManager dockingManager = DockingManager;

            if (dockingManager != null)
            {
                FloatspaceCellEventArgs args = new FloatspaceCellEventArgs(FloatspaceControl, this, cell);
                dockingManager.RaiseFloatspaceCellRemoved(args);
            }
        }
 /// <summary>
 /// Raises the type specific cell removed event determinated by the derived class.
 /// </summary>
 /// <param name="cell">Referecence to an existing cell being removed.</param>
 protected override void RaiseCellRemoved(KryptonWorkspaceCell cell)
 {
     // Generate event so the floatspace cell customization can be reversed.
     KryptonDockingManager dockingManager = DockingManager;
     if (dockingManager != null)
     {
         FloatspaceCellEventArgs args = new FloatspaceCellEventArgs(FloatspaceControl, this, cell);
         dockingManager.RaiseFloatspaceCellRemoved(args);
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Raises the FloatspaceCellRemoved event.
 /// </summary>
 /// <param name="e">An FloatspaceCellEventArgs containing the event args.</param>
 protected virtual void OnFloatspaceCellRemoved(FloatspaceCellEventArgs e)
 {
     if (FloatspaceCellRemoved != null)
         FloatspaceCellRemoved(this, e);
 }
Esempio n. 4
0
 /// <summary>
 /// Raises the FloatspaceCellAdding event.
 /// </summary>
 /// <param name="e">An FloatspaceCellEventArgs containing the event args.</param>
 protected virtual void OnFloatspaceCellAdding(FloatspaceCellEventArgs e)
 {
     if (FloatspaceCellAdding != null)
         FloatspaceCellAdding(this, e);
 }
Esempio n. 5
0
 internal void RaiseFloatspaceCellRemoved(FloatspaceCellEventArgs e)
 {
     OnFloatspaceCellRemoved(e);
 }
Esempio n. 6
0
 internal void RaiseFloatspaceCellAdding(FloatspaceCellEventArgs e)
 {
     OnFloatspaceCellAdding(e);
 }
Esempio n. 7
0
 private void kryptonDockingManager_FloatspaceCellAdding(object sender, FloatspaceCellEventArgs e)
 {
     // Set the correct appearance of the floatspace cell based on current settings
     UpdateCell(e.CellControl);
 }