Skip to content

Instantly share code, notes, and snippets.

@koraysaritas
Created January 11, 2016 10:18
Show Gist options
  • Save koraysaritas/fabe3aeb6291c0f6df4d to your computer and use it in GitHub Desktop.
Save koraysaritas/fabe3aeb6291c0f6df4d to your computer and use it in GitHub Desktop.
BottomRightForm
Rectangle workingArea = Screen.GetWorkingArea(this);
FrmHede hede = new FrmHede();
hede.StartPosition = FormStartPosition.Manual;
hede.Location = new Point(workingArea.Right - hede.Width, workingArea.Bottom - hede.Height);
// hede.Location = new Point(Screen.PrimaryScreen.WorkingArea.Width - hede.Width, Screen.PrimaryScreen.WorkingArea.Height - hede.Height);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment