Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // get the windows forms window
- var screen = System.Windows.Forms.Screen.FromHandle(Ark.Window.Handle);
- // no more border
- Ark.Window.IsBorderless = true;
- // "full screen"
- Form.FromHandle(Ark.Window.Handle).Location = new System.Drawing.Point(screen.Bounds.Left, screen.Bounds.Top);
- SetWindowSize(screen.Bounds.Width, screen.Bounds.Height);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement