public DepartmentPhotoEditForm(ref AdminDepartmentEdit tAdminDepartmentsEdit, int DepartmentID) { InitializeComponent(); AdminDepartmentsEdit = tAdminDepartmentsEdit; iDepartmentID = DepartmentID; this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size; Initialize(); }
public DepartmentsManagementForm(LightStartForm tLightStartForm) { InitializeComponent(); LightStartForm = tLightStartForm; AdminDepartmentsEdit = new AdminDepartmentEdit(); this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size; Initialize(); while (!SplashForm.bCreated) { ; } }