Example #1
0
        private void CreateListForm()
        {
            EmployeeListForm employeeForm = new EmployeeListForm();

            employeeForm.MdiParent   = this;
            employeeForm.WindowState = FormWindowState.Maximized;
            employeeForm.Show();
        }
        private void CreateListForm()
        {
            EmployeeListForm employeeForm = new EmployeeListForm(security, objectSpaceProvider)
            {
                MdiParent   = this,
                WindowState = FormWindowState.Maximized
            };

            employeeForm.Show();
        }