IntPtr hwnd = new WindowInteropHelper(this).Handle; SetWindowRgn(hwnd, CreateRoundRectRgn(0, 0, (int)SystemParameters.WorkArea.Width, (int)SystemParameters.WorkArea.Height, 0, 0), true); this.Height = SystemParameters.WorkArea.Height; this.Width = SystemParameters.WorkArea.Width; this.Top = SystemParameters.WorkArea.Top; this.Left = SystemParameters.WorkArea.Left; if (pinFlag==false) { LeftPanel.Width = LeftPanel.MinWidth; } flag = true; this.Maindocpanal.Margin = new Thickness(0,0,0,0); this.windowborder.CornerRadius = new CornerRadius(0); this.windowborder1.CornerRadius = new CornerRadius(0);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)