Application.OnStartup(StartupEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the Startup event.
protected:
virtual void OnStartup(System::Windows::StartupEventArgs ^ e);
protected virtual void OnStartup (System.Windows.StartupEventArgs e);
abstract member OnStartup : System.Windows.StartupEventArgs -> unit
override this.OnStartup : System.Windows.StartupEventArgs -> unit
Protected Overridable Sub OnStartup (e As StartupEventArgs)
Parameters
A StartupEventArgs that contains the event data.
Remarks
OnStartup raises the Startup event.
A type that derives from Application may override OnStartup. The overridden method must call OnStartup in the base class if the Startup event needs to be raised.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.