Form.DpiChanged Form.DpiChanged Form.DpiChanged Form.DpiChanged Event

定义

当前显示窗体的显示设备上的 DPI 设置更改时发生。Occurs when the DPI setting changes on the display device where the form is currently displayed.

public:
 event System::Windows::Forms::DpiChangedEventHandler ^ DpiChanged;
public event System.Windows.Forms.DpiChangedEventHandler DpiChanged;
member this.DpiChanged : System.Windows.Forms.DpiChangedEventHandler 
Public Custom Event DpiChanged As DpiChangedEventHandler 

适用于