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);
     }
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo n.º 5
0
 internal void RaiseFloatspaceCellRemoved(FloatspaceCellEventArgs e)
 {
     OnFloatspaceCellRemoved(e);
 }
Ejemplo n.º 6
0
 internal void RaiseFloatspaceCellAdding(FloatspaceCellEventArgs e)
 {
     OnFloatspaceCellAdding(e);
 }
Ejemplo 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);
 }