public BorderlessWindow()
        {
            base.AutoScaleMode = AutoScaleMode.None;

            base.BackColor = Color.FromArgb(33, 33, 33);

            DpiHelper.InitializeDpiHelper();

            InitializeReflectedFields();

            _deviceDpi = DpiHelper.DeviceDpi;



            _shadowDecorator = new ShadowDecorator(this, false);

            SuspendLayout();
        }
        public BorderlessWindow()
        {
            this.WindowState   = FormWindowState.Maximized;
            base.AutoScaleMode = AutoScaleMode.None;

            base.BackColor = Color.White;

            DpiHelper.InitializeDpiHelper();

            InitializeReflectedFields();

            _deviceDpi = DpiHelper.DeviceDpi;



            _shadowDecorator = new ShadowDecorator(this, false);

            SuspendLayout();
        }
Exemple #3
0
 public SystemNativeWindow()
 {
     DpiHelper.InitializeDpiHelper();
     _deviceDpi         = DpiHelper.DeviceDpi;
     base.AutoScaleMode = AutoScaleMode.None;
 }