Exemple #1
0
        private void Window_DpiChanged(object sender, DpiChangedEventArgs e)
        {
            _scale = e.NewDpi.DpiScaleX;

            UpdateSize();
            Window_LocationChanged(sender, e);
        }
Exemple #2
0
        private void Window_DpiChanged(object sender, DpiChangedEventArgs e)
        {
            _scale = e.NewDpi.DpiScaleX;

            UpdateSize();
            UpdateLocation();

            WidthIntegerBox.Scale  = _scale;
            HeightIntegerBox.Scale = _scale;
        }