Here are the examples of the csharp api class System.Windows.Forms.Form.OnShown(System.EventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
73 Examples
0
1. Example
Project: JiraSVN
Source File: OptionUrlEntry.cs
Source File: OptionUrlEntry.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); }
0
2. Example
Project: Cyotek.Windows.Forms.ImageBox
Source File: BaseForm.cs
Source File: BaseForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); Cursor.Current = Cursors.Default; }
0
3. Example
Project: Cyotek.Windows.Forms.ColorPicker
Source File: BaseForm.cs
Source File: BaseForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); Cursor.Current = Cursors.Default; }
0
4. Example
Project: kcptun-gui-windows
Source File: LogForm.cs
Source File: LogForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); logViewerUserControl1.ScrollToCaret(); }
0
5. Example
Project: gitter
Source File: DialogForm.cs
Source File: DialogForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); _dialog.InvokeOnShown(); if(_elevated != null && !Utility.IsRunningWithAdministratorRights) { if(_elevated.RequireElevation) { if(_btnOK.Visible) _btnOK.ShowUACShield(); if(_btnApply.Visible) _btnApply.ShowUACShield(); } _elevated.RequireElevationChanged += OnRequireElevationExecutionChanged; } }
0
6. Example
Project: gitter
Source File: MainForm.cs
Source File: MainForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); _process.BeginUpdate(_monitor); }
0
7. Example
Project: Bulk-Crap-Uninstaller
Source File: MainWindow.cs
Source File: MainWindow.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); _handler.StatusUpdate += HandlerOnStatusUpdate; _handler.Start(); }
0
8. Example
Project: P8Coder
Source File: GoToForm.cs
Source File: GoToForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); this.tbLineNumber.Focus(); }
0
9. Example
Project: mRemoteNG
Source File: frmTaskDialog.cs
Source File: frmTaskDialog.cs
protected override void OnShown(EventArgs e) { if (!_formBuilt) throw new Exception("frmTaskDialog : Please call .BuildForm() before showing the TaskDialog"); base.OnShown(e); }
0
10. Example
Project: BaijiGenerator.Net
Source File: GoToForm.cs
Source File: GoToForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); this.tbLineNumber.Focus(); }
0
11. Example
Project: dash-core
Source File: GoToForm.cs
Source File: GoToForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); this.tbLineNumber.Focus(); }
0
12. Example
Project: OpenLiveWriter
Source File: BaseForm.cs
Source File: BaseForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); if (!suppressAutoRtlFixup) BidiHelper.RtlLayoutFixup(this); if (SystemInformation.HighContrast) { ControlHelper.Walk( delegate (Control c, object state) { LinkLabel link = c as LinkLabel; if (link != null) { if (link.LinkColor == SystemColors.HotTrack) link.LinkColor = SystemColors.ControlText; if (link.LinkBehavior != LinkBehavior.AlwaysUnderline) link.LinkBehavior = LinkBehavior.AlwaysUnderline; } }, this, null); } }
0
13. Example
Project: WYZTracker
Source File: DeviceDialog.cs
Source File: DeviceDialog.cs
protected override void OnShown(EventArgs e) { if(InputDevice.DeviceCount > 0) { inputComboBox.SelectedIndex = inputDeviceID; } if(OutputDevice.DeviceCount > 0) { outputComboBox.SelectedIndex = outputDeviceID; } base.OnShown(e); }
0
14. Example
Project: WYZTracker
Source File: InputDeviceDialog.cs
Source File: InputDeviceDialog.cs
protected override void OnShown(EventArgs e) { if(InputDevice.DeviceCount > 0) { inputComboBox.SelectedIndex = inputDeviceID; } base.OnShown(e); }
0
15. Example
Project: WYZTracker
Source File: OutputDeviceDialog.cs
Source File: OutputDeviceDialog.cs
protected override void OnShown(EventArgs e) { if(OutputDevice.DeviceCount > 0) { outputComboBox.SelectedIndex = outputDeviceID; } base.OnShown(e); }
0
16. Example
Project: ShareX
Source File: GreenshotForm.cs
Source File: GreenshotForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); if (ToFront) { WindowDetails.ToForeground(Handle); } }
0
17. Example
Project: ShareX
Source File: ScreenTearingTestForm.cs
Source File: ScreenTearingTestForm.cs
protected override void OnShown(EventArgs e) { this.ForceActivate(); base.OnShown(e); }
0
18. Example
Project: ATF
Source File: MainForm.cs
Source File: MainForm.cs
protected override void OnShown(EventArgs e) { m_showen = true; base.OnShown(e); // if m_loading is true then this is called before // OnLoad finshed, so in this case don't raise // Loaded event because we still processing Loading event. if (!m_loading) Loaded.Raise(this, e); }
0
19. Example
Project: Gorgon
Source File: BaseDialog.cs
Source File: BaseDialog.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); if ((!DesignMode) && (Owner != null)) { Icon = Owner.Icon; } }
0
20. Example
Project: Sanford.Multimedia.Midi
Source File: DeviceDialog.cs
Source File: DeviceDialog.cs
protected override void OnShown(EventArgs e) { if(InputDevice.DeviceCount > 0) { inputComboBox.SelectedIndex = inputDeviceID; } if(OutputDevice.DeviceCount > 0) { outputComboBox.SelectedIndex = outputDeviceID; } base.OnShown(e); }
0
21. Example
Project: Sanford.Multimedia.Midi
Source File: InputDeviceDialog.cs
Source File: InputDeviceDialog.cs
protected override void OnShown(EventArgs e) { if(InputDevice.DeviceCount > 0) { inputComboBox.SelectedIndex = inputDeviceID; } base.OnShown(e); }
0
22. Example
Project: Sanford.Multimedia.Midi
Source File: OutputDeviceDialog.cs
Source File: OutputDeviceDialog.cs
protected override void OnShown(EventArgs e) { if(OutputDevice.DeviceCount > 0) { outputComboBox.SelectedIndex = outputDeviceID; } base.OnShown(e); }
0
23. Example
Project: ynoteclassic
Source File: GoToForm.cs
Source File: GoToForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); tbLineNumber.Focus(); }
0
24. Example
Project: ynoteclassic
Source File: Commander.cs
Source File: Commander.cs
protected override void OnShown(EventArgs e) { completemenu.Show(tbcommand, true); base.OnShown(e); }
0
25. Example
Project: ynoteclassic
Source File: CommandWindow.cs
Source File: CommandWindow.cs
protected override void OnShown(EventArgs e) { completemenu.Show(tbCmd, true); base.OnShown(e); }
0
26. Example
Project: ReoGrid
Source File: ReoGridEditor.cs
Source File: ReoGridEditor.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); }
0
27. Example
Project: xenadmin
Source File: FullScreenForm.cs
Source File: FullScreenForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); if (Properties.Settings.Default.PinConnectionBar) connectionBar1.ShowPinned(); else connectionBar1.HideAnimated(); }
0
28. Example
Project: xenadmin
Source File: MainWindow.cs
Source File: MainWindow.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); TheTabControl.Visible = true; alertPage.Visible = updatesPage.Visible = eventsPage.Visible = false; navigationPane.FocusTreeView(); }
0
29. Example
Project: BloomDesktop
Source File: LoginDialog.cs
Source File: LoginDialog.cs
protected override void OnShown(EventArgs e) { _emailBox.Select(); base.OnShown(e); }
0
30. Example
Project: duality
Source File: CreateObjectDialog.cs
Source File: CreateObjectDialog.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); this.objectTypeView.Model = this.model; }
0
31. Example
Project: duality
Source File: SplashScreen.cs
Source File: SplashScreen.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); this.mainFormLoader.RunWorkerAsync(this); }
0
32. Example
Project: duality
Source File: WelcomeDialog.cs
Source File: WelcomeDialog.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); this.actionList.Model = this.actionModel; }
0
33. Example
Project: Krypton
Source File: VisualForm.cs
Source File: VisualForm.cs
protected override void OnShown(EventArgs e) { // Under Windows7 a modal window with custom chrome under the DWM // will sometimes not be drawn when first shown. if (Environment.OSVersion.Version.Major >= 6) PerformNeedPaint(true); base.OnShown(e); }
0
34. Example
Project: CubePdf
Source File: MainForm.cs
Source File: MainForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); SettingButton.Enabled = false; Activate(); TopMost = true; TopMost = false; }
0
35. Example
Project: wizard-framework
Source File: Wizard.cs
Source File: Wizard.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); this.ShowWizardPage(); }
0
36. Example
Project: DFAssist
Source File: MainForm.cs
Source File: MainForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); if (!Settings.StartupShowMainForm) { Hide(); } }
0
37. Example
Project: DropboxBusinessAdminTool
Source File: MainView.cs
Source File: MainView.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); RepaintTabControlBackground(); }
0
38. Example
Project: EDDiscovery
Source File: TimedMessage.cs
Source File: TimedMessage.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); ontimer.Start(); }
0
39. Example
Project: RocksmithToTab
Source File: CallProgram.cs
Source File: CallProgram.cs
protected override void OnShown(EventArgs e) { StartProcess(); base.OnShown(e); }
0
40. Example
Project: fomm
Source File: BackgroundWorkerProgressDialog.cs
Source File: BackgroundWorkerProgressDialog.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); m_bgwWorker.RunWorkerAsync(m_objWorkMethodParam); }
0
41. Example
Project: MaterialWinforms
Source File: ColorOverlay.cs
Source File: ColorOverlay.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); objAnimationManager.SetProgress(0); _Origin = PointToClient(_Origin); ; objAnimationManager.StartNewAnimation(AnimationDirection.In); }
0
42. Example
Project: GKeyBank
Source File: kForm.cs
Source File: kForm.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); Refresh(); }
0
43. Example
Project: LiveSplit
Source File: ColorPickerDialog.cs
Source File: ColorPickerDialog.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); this.selColor = this.oldColor; this.UpdateColorControls(); }
0
44. Example
Project: Speed-Test-Loggger
Source File: FormMain.cs
Source File: FormMain.cs
protected override void OnShown(EventArgs e) { // Explorer themed ListView Global.SetWindowTheme(ListLog.Handle, "Explorer", null); Global.SendMessage(ListLog.Handle, 0x1000 + 54, 0x00010000, 0x00010000); // LVS_EX_DOUBLEBUFFERED // Extend frame if Desktop Composition (Aero) is enabled if (Global.CompositionEnabled && !Global.IsWindows8) { BackColor = Color.Black; ContainerMain.BackColor = SystemColors.Control; Global.ExtendFrame(this.Handle, new System.Drawing.Printing.Margins(0, 0, ToolBarMain.Height, 0)); //if (Global.IsWindows8) Global.SetWindowTheme(ToolBarMain.Handle, "TrayNotifyComposited", null); Global.SetWindowTheme(ToolBarMain.Handle, "Media", null); } // Start logging if (p_StartLogging) MenuStartLogging_Click(this, EventArgs.Empty); // Continue processing the event as usual base.OnShown(e); }
0
45. Example
Project: Unity-WinForms
Source File: Form.cs
Source File: Form.cs
public void Show(bool fShouldFocus = true) { Visible = true; int self = uwfAppOwner.Forms.FindIndex(x => x == this); if (self == -1) uwfAppOwner.Forms.Add(this); if (fShouldFocus) { Focus(); _SelectFirstControl(); } OnShown(EventArgs.Empty); }
0
46. Example
Project: Unity-WinForms
Source File: Form.cs
Source File: Form.cs
public DialogResult ShowDialog(Action<Form, DialogResult> onClosed = null) { dialog = true; dialogCallback = onClosed; Visible = true; int self = uwfAppOwner.ModalForms.FindIndex(x => x == this); if (self == -1) uwfAppOwner.ModalForms.Add(this); Focus(); _SelectFirstControl(); OnShown(EventArgs.Empty); return DialogResult; }
0
47. Example
Project: revitpythonshell
Source File: CompletionToolTip.cs
Source File: CompletionToolTip.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); _completions.Focus(); }
0
48. Example
Project: Nexus-Mod-Manager
Source File: ProgressDialog.cs
Source File: ProgressDialog.cs
protected override void OnShown(EventArgs e) { base.OnShown(e); if (!Task.IsActive) { //we need to set this again, as it gets reset once the form is shown, // and if we are here, we set it before the form was shown DialogResult = m_drtLastDialogResult; Close(); } }
0
49. Example
Project: OpenLiveWriter
Source File: AutoCompleteTextbox.cs
Source File: AutoCompleteTextbox.cs
protected override void OnShown(EventArgs e) { AdjustListSize(); base.OnShown(e); }
0
50. Example
Project: Aspose.Words-for-.NET
Source File: DocumentPreviewAndPrint.cs
Source File: DocumentPreviewAndPrint.cs
protected override void OnShown(EventArgs e) { Activate(); base.OnShown(e); }