System.Windows.Forms.XplatUIX11.SetBorderStyle C# (CSharp) Method

SetBorderStyle() private method

private SetBorderStyle ( IntPtr handle, FormBorderStyle border_style ) : void
handle IntPtr
border_style FormBorderStyle
return void
		internal override void SetBorderStyle(IntPtr handle, FormBorderStyle border_style) {
			Form form = Control.FromHandle (handle) as Form;
			if (form != null && form.window_manager == null) {
				CreateParams cp = form.GetCreateParams ();
				if (border_style == FormBorderStyle.FixedToolWindow ||
				     border_style == FormBorderStyle.SizableToolWindow || 
				     cp.IsSet (WindowExStyles.WS_EX_TOOLWINDOW)) {
					form.window_manager = new ToolWindowManager (form);
				}
			}
			
			RequestNCRecalc(handle);
		}
XplatUIX11