/// <summary> /// Raises the type specific cell removed event determined by the derived class. /// </summary> /// <param name="cell">Reference to an existing cell being removed.</param> protected override void RaiseCellRemoved(KryptonWorkspaceCell cell) { // Generate event so the dockable workspace cell customization can be reversed. KryptonDockingManager dockingManager = DockingManager; if (dockingManager != null) { DockableWorkspaceCellEventArgs args = new DockableWorkspaceCellEventArgs(DockableWorkspaceControl, this, cell); dockingManager.RaiseDockableWorkspaceCellRemoved(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 dockable workspace cell customization can be reversed. KryptonDockingManager dockingManager = DockingManager; if (dockingManager != null) { DockableWorkspaceCellEventArgs args = new DockableWorkspaceCellEventArgs(DockableWorkspaceControl, this, cell); dockingManager.RaiseDockableWorkspaceCellRemoved(args); } }
/// <summary> /// Raises the DockableWorkspaceCellRemoved event. /// </summary> /// <param name="e">An DockableWorkspaceCellEventArgs containing the event args.</param> protected virtual void OnDockableWorkspaceCellRemoved(DockableWorkspaceCellEventArgs e) { if (DockableWorkspaceCellRemoved != null) DockableWorkspaceCellRemoved(this, e); }
/// <summary> /// Raises the DockableWorkspaceCellAdding event. /// </summary> /// <param name="e">An DockableWorkspaceCellEventArgs containing the event args.</param> protected virtual void OnDockableWorkspaceCellAdding(DockableWorkspaceCellEventArgs e) { if (DockableWorkspaceCellAdding != null) DockableWorkspaceCellAdding(this, e); }
internal void RaiseDockableWorkspaceCellRemoved(DockableWorkspaceCellEventArgs e) { OnDockableWorkspaceCellRemoved(e); }
internal void RaiseDockableWorkspaceCellAdding(DockableWorkspaceCellEventArgs e) { OnDockableWorkspaceCellAdding(e); }