private void positionForm(Form form) { Left = 0; Top = 0; Width = Screen.PrimaryScreen.WorkingArea.Width - form.Width; Height = Screen.PrimaryScreen.WorkingArea.Height; textBox1.Focus(); }