public void InitializeCorporateForm(Corporate corporate, Project project) { ClientForm corporateForm = new ClientForm(corporate, this) { MdiParent = this }; if (project != null) { corporateForm.DisplayUserControl_ViewProject(project, null); } corporateForm.Show(); }
public void InitializeGroupForm(Group group, Project project) { ClientForm personForm = new ClientForm(group, this) { MdiParent = this, Text = string.Format("{0} [{1}]", MultiLanguageStrings.GetString(Ressource.ClientForm, "Group.Text"), group.Name) }; if (project != null) { personForm.DisplayUserControl_ViewProject(project, null); } personForm.Show(); }
public void InitializePersonForm(Person person, Project project) { ClientForm personForm = new ClientForm(person, this, _applicationController) { MdiParent = this, Text = string.Format( "{0} [{1}]", MultiLanguageStrings.GetString(Ressource.ClientForm, "Person.Text"), person.Name) }; if (project != null) { personForm.DisplayUserControl_ViewProject(project, null); } personForm.Show(); }