Follow along with the video below to see how to install our site as a web app on your home screen.
Beleška: this_feature_currently_requires_accessing_site_using_safari
double snugContentWidth = Screen.PrimaryScreen.Bounds.Width;
double snugContentHeight = Screen.PrimaryScreen.Bounds.Height;
var horizontalBorderHeight = SystemParameters.ResizeFrameHorizontalBorderHeight;
var verticalBorderWidth = SystemParameters.ResizeFrameVerticalBorderWidth;
var captionHeight = SystemParameters.CaptionHeight;
WindowStyle = WindowStyle.None;
Top = -2;
Left = -2;
Topmost = true;
Width = snugContentWidth + 2 * verticalBorderWidth;
Height = snugContentHeight + captionHeight + 2 * horizontalBorderHeight;
update multi monitor support@salezli So I've been able to fix that on my system using this dirty patch. This way it works properly for me with the themes service disabled.
Up to you if you want to implement this for others.
This is the code inside the fix.dll file
C#:double snugContentWidth = Screen.PrimaryScreen.Bounds.Width; double snugContentHeight = Screen.PrimaryScreen.Bounds.Height; var horizontalBorderHeight = SystemParameters.ResizeFrameHorizontalBorderHeight; var verticalBorderWidth = SystemParameters.ResizeFrameVerticalBorderWidth; var captionHeight = SystemParameters.CaptionHeight; WindowStyle = WindowStyle.None; Top = -2; Left = -2; Topmost = true; Width = snugContentWidth + 2 * verticalBorderWidth; Height = snugContentHeight + captionHeight + 2 * horizontalBorderHeight;
var bounds = System.Windows.Forms.Screen.FromPoint(new System.Drawing.Point(this.Left, this.Top)).Bounds;
Top = bounds.Top;
Left = bounds.Left;
Width = bounds.Width;
Height = bounds.Height;
I have here only single monitor connected so cannot test on multiple ones, but with single one your code with little modifications as well works for me:update multi monitor support
WindowStyle = WindowStyle.None;
Top = 0;
Left = 0;
var bounds = System.Windows.Forms.Screen.FromPoint(new System.Drawing.Point(Convert.ToInt32(this.Left), Convert.ToInt32(this.Top))).Bounds;
Top = bounds.Top-2;
Left = bounds.Left-2;
Width = bounds.Width+2;
Height = bounds.Height+2;
update v1.2.3.9 - fixed full screenI have here only single monitor connected so cannot test on multiple ones, but with single one your code with little modifications as well works for me:
C#:WindowStyle = WindowStyle.None; Top = 0; Left = 0; var bounds = System.Windows.Forms.Screen.FromPoint(new System.Drawing.Point(Convert.ToInt32(this.Left), Convert.ToInt32(this.Top))).Bounds; Top = bounds.Top-2; Left = bounds.Left-2; Width = bounds.Width+2; Height = bounds.Height+2;
probaj ovde kao na sliciPozdrav. Odličan player
2 pitanja
Dali je moguće mjenjati sliku korisnika umjesto onog čovječuljka
i dali je moguće snimati u MKV format ?
Hvala i oprostite ako je pitanje bilo