private void DataGridView_DpiChanged(object sender, DpiChangedEventArgs e) { currentDPILabel1.Text = DeviceDpi.ToString(); }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); currentDPILabel1.Text = DeviceDpi.ToString(); }