protected override void OnHandleCreated(EventArgs e) { XplatUI.SetBorderStyle(window.Handle, form_border_style); base.OnHandleCreated (e); }