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
0
1. Example
View licenseprotected override void OnDeactivate(EventArgs e) { WindowActive = false; base.OnDeactivate(e); }
0
0
3. Example
View licenseprotected 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); }
0
0
5. Example
View licenseprotected 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); }
0
0
7. Example
View licenseprotected 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); }
0
0
9. Example
View licenseprotected 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); }
0
0
11. Example
View licenseprotected 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); }
0
12. Example
View licenseprotected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); isBringingToFront = true; }
0
13. Example
View licenseprotected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); isBringingToFront = true; }
0
0
15. Example
View licenseprotected 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); }
0
0
17. Example
View licenseprotected 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); }
0
0
19. Example
View licenseprotected 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); }
0
20. Example
View licenseprotected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); this.Close(); IsOpen = false; }
0
21. Example
View licenseprotected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); if ( closeondeactivateselected) this.Close(); }
0
22. Example
View licenseprotected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); if (!_themeInitialize) return; //SetBorderColor(InactiveBorderColor); SetTextColor(InactiveTextColor); }
0
23. Example
View licenseprotected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); Close(); }
0
24. Example
View licenseprotected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); Cancel(); }
0
25. Example
View licenseprotected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); if (isInitialized) { Refresh(); } }
0
26. Example
View licenseprotected 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; } } }
0
27. Example
View licenseprotected override void OnDeactivate(EventArgs e) { base.OnDeactivate(e); _closeTimer.Start(); }
0
28. Example
View licenseprotected override void OnDeactivate(EventArgs e) { if (Visible) m_parent.CloseDropDown(); base.OnDeactivate(e); }