ACAT.Extensions.Default.FunctionalAgents.LectureManager.LectureManagerMainForm.positionForm C# (CSharp) Method

positionForm() private method

Dock the form next to the scanner
private positionForm ( Form form ) : void
form System.Windows.Forms.Form scanner form
return void
        private void positionForm(Form form)
        {
            Left = 0;
            Top = 0;
            Width = Screen.PrimaryScreen.WorkingArea.Width - form.Width;
            Height = Screen.PrimaryScreen.WorkingArea.Height;
            textBox1.Focus();
        }