System.Windows.Forms.Form.OnDeactivate(System.EventArgs)

Here are the examples of the csharp api class System.Windows.Forms.Form.OnDeactivate(System.EventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

28 Examples 7

1. Example

Project: Krypton
Source File: VisualForm.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            WindowActive = false;
            base.OnDeactivate(e);
        }

2. Example

Project: MapleShark
Source File: DockContent.cs
View license
void IDockContent.OnDeactivate(EventArgs e)
		{
			this.OnDeactivate(e);
		}

3. Example

Project: MapleShark
Source File: FloatWindow.cs
View license
protected override void OnDeactivate(EventArgs e)
		{
			base.OnDeactivate(e);
			// Propagate the Deactivate event to the visible panes content objects
			foreach (DockPane pane in VisibleNestedPanes)
				foreach (IDockContent content in pane.Contents)
					content.OnDeactivate(e);
		}

4. Example

Project: dockpanelsuite
Source File: DockContent.cs
View license
void IDockContent.OnDeactivate(EventArgs e)
        {
            this.OnDeactivate(e);
        }

5. Example

Project: dockpanelsuite
Source File: FloatWindow.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);
            // Propagate the Deactivate event to the visible panes content objects
            foreach (DockPane pane in VisibleNestedPanes)
                foreach (IDockContent content in pane.Contents)
                    content.OnDeactivate(e);
        }

6. Example

Project: ArnoldSimulator
Source File: DockContent.cs
View license
void IDockContent.OnDeactivate(EventArgs e)
        {
            this.OnDeactivate(e);
        }

7. Example

Project: ArnoldSimulator
Source File: FloatWindow.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);
            // Propagate the Deactivate event to the visible panes content objects
            foreach (DockPane pane in VisibleNestedPanes)
                foreach (IDockContent content in pane.Contents)
                    content.OnDeactivate(e);
        }

8. Example

Project: Nexus-Mod-Manager
Source File: DockContent.cs
View license
void IDockContent.OnDeactivate(EventArgs e)
        {
            this.OnDeactivate(e);
        }

9. Example

Project: Nexus-Mod-Manager
Source File: FloatWindow.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);
            // Propagate the Deactivate event to the visible panes content objects
            foreach (DockPane pane in VisibleNestedPanes)
                foreach (IDockContent content in pane.Contents)
                    content.OnDeactivate(e);
        }

10. Example

Project: ynoteclassic
Source File: DockContent.cs
View license
void IDockContent.OnDeactivate(EventArgs e)
        {
            OnDeactivate(e);
        }

11. Example

Project: ynoteclassic
Source File: FloatWindow.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);
            // Propagate the Deactivate event to the visible panes content objects
            foreach (DockPane pane in VisibleNestedPanes)
                foreach (IDockContent content in pane.Contents)
                    content.OnDeactivate(e);
        }

12. Example

Project: Mist
Source File: MetroForm.cs
View license
protected override void OnDeactivate(EventArgs e)
            {
                base.OnDeactivate(e);
                isBringingToFront = true;
            }

13. Example

Project: winauth
Source File: MetroForm.cs
View license
protected override void OnDeactivate(EventArgs e)
            {
                base.OnDeactivate(e);
                isBringingToFront = true;
            }

14. Example

Project: SquareOne
Source File: DockContent.cs
View license
void IDockContent.OnDeactivate(EventArgs e)
        {
            this.OnDeactivate(e);
        }

15. Example

Project: SquareOne
Source File: FloatWindow.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);
            // Propagate the Deactivate event to the visible panes content objects
            foreach (DockPane pane in VisibleNestedPanes)
                foreach (IDockContent content in pane.Contents)
                    content.OnDeactivate(e);
        }

16. Example

Project: ceptr
Source File: DockContent.cs
View license
void IDockContent.OnDeactivate(EventArgs e)
		{
			this.OnDeactivate(e);
		}

17. Example

Project: ceptr
Source File: FloatWindow.cs
View license
protected override void OnDeactivate(EventArgs e)
		{
			base.OnDeactivate(e);
			// Propagate the Deactivate event to the visible panes content objects
			foreach (DockPane pane in VisibleNestedPanes)
				foreach (IDockContent content in pane.Contents)
					content.OnDeactivate(e);
		}

18. Example

Project: HOPE
Source File: DockContent.cs
View license
void IDockContent.OnDeactivate(EventArgs e)
		{
			this.OnDeactivate(e);
		}

19. Example

Project: HOPE
Source File: FloatWindow.cs
View license
protected override void OnDeactivate(EventArgs e)
		{
			base.OnDeactivate(e);
			// Propagate the Deactivate event to the visible panes content objects
			foreach (DockPane pane in VisibleNestedPanes)
				foreach (IDockContent content in pane.Contents)
					content.OnDeactivate(e);
		}

20. Example

View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);
            this.Close();
            IsOpen = false;
        }

21. Example

Project: EDDiscovery
Source File: DropDownCustom.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);

            if ( closeondeactivateselected)
                this.Close();
        }

22. Example

Project: InnovatorAdmin
Source File: FormBase.cs
View license
protected override void OnDeactivate(EventArgs e)
    {
      base.OnDeactivate(e);
      if (!_themeInitialize) return;
      //SetBorderColor(InactiveBorderColor);
      SetTextColor(InactiveTextColor);
    }

23. Example

Project: TileIconifier
Source File: AlignImageForm.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);

            Close();
        }

24. Example

View license
protected override void OnDeactivate(EventArgs e)
		{
			base.OnDeactivate(e);
			Cancel();
		}

25. Example

Project: winforms-modernui
Source File: MetroForm.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);
            if (isInitialized)
            {
                Refresh();
            }
        }

26. Example

Project: SystemEx
Source File: FlyoutForm.cs
View license
protected override void OnDeactivate(EventArgs e)
        {
            base.OnDeactivate(e);

            if (DismissOnDeactivate)
            {
                switch (_state)
                {
                    case FlyoutState.Opening:
                        SetState(FlyoutState.Closed);
                        break;

                    case FlyoutState.Showing:
                    case FlyoutState.Waiting:
                        SetState(FlyoutState.Closing);
                        break;
                }
            }
        }

27. Example

Project: Gmail-Notifier-Plus
Source File: Toast.cs
View license
protected override void OnDeactivate(EventArgs e) {
			base.OnDeactivate(e);

			_closeTimer.Start();
		}

28. Example

Project: ATF
Source File: PropertyEditingControl.cs
View license
protected override void OnDeactivate(EventArgs e)
            {
                if (Visible)
                    m_parent.CloseDropDown();

                base.OnDeactivate(e);
            }