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

            currentDPILabel1.Text = DeviceDpi.ToString();
        }