DlhSoft Project Management Library (Windows® Forms) Documentation

Project Management Library (Windows® Forms) contains Windows® client components such as ProjectView, ResourcesView, ScheduleView, and StatisticsView controls.

The ProjectView control is used to display and update project information such as tasks using a grid view and an attached Gantt Chart, resources using a grid view, and schedule using custom user interface.

The control requires setting the input project to manage through Project property of Project type, also provided with the library.

Some of the properties provided by the Project type are listed below:

·         Tasks: The hierarchy of tasks of the project (defined by properties such as Start, Work, CompletedWork, Assignments, Dependencies etc.); the minimum schedulable time unit is the day, but the user interface is able to present partial day values; the assignments can use unknown resources (identified by a question mark “?” or “? (Resource1, Resource2, …)”), optionally based on functions (identified by a string such as “Function” or “? (Function1, Function2, …)”); unknown resources are replaced by actual resources when a Level Resources operation occurs;

·         Resources (available resources of the project).

Structure

The root assemblies and types that the library includes are listed below:

DlhSoft.ProjectManagement.Framework assembly:

·         Project class (DlhSoft.ProjectManagement.Framework namespace);

·         Task class (DlhSoft.ProjectManagement.Framework namespace);

·         Resource class (DlhSoft.ProjectManagement.Framework namespace);

·         Assignment class (DlhSoft.ProjectManagement.Framework namespace);

·         Dependency class (DlhSoft.ProjectManagement.Framework namespace);

·         Schedule class (DlhSoft.ProjectManagement.Framework namespace);

DlhSoft.ProjectManagement.ControlLibrary assembly:

·         ProjectView control (DlhSoft.ProjectManagement.ControlLibrary namespace);

·         ResourcesView control (DlhSoft.ProjectManagement.ControlLibrary namespace);

·         ScheduleView control (DlhSoft.ProjectManagement.ControlLibrary namespace);

·         StatisticsView control (DlhSoft.ProjectManagement.ControlLibrary namespace).

Get Started

To add references to the library assemblies within your solution project using Visual Studio®, please follow these steps:

·         Select your project in Solution Explorer;

·         Use the Add Reference command from the Project menu to open the Add Reference dialog window;

·         Locate and select the assemblies you want to reference within the .NET tab of the Add Reference dialog window;

·         Click OK to close the dialog window. The assemblies are referenced in your project.

To be able to specify the referenced type names in your main source code without any DlhSoft namespace prefix, make sure you also include using or Imports directives for the appropriate namespaces in each of the referencing source code files.

To add the library Windows® Forms controls as reference shortcuts in a Toolbox group within Visual Studio®, and to create control instances in the Windows® Forms user interface designer using the Toolbox, please follow these steps:

·         Open the Windows® Forms user interface designer for a form that you want to add controls to;

·         Open the Toolbox and display its context menu;

·         Use the Add Tab command from the context menu to create a new group, such as DlhSoft, if the group you want to add the controls to doesn't already exist;

·         Select the tab you want to add the Windows® Forms controls to and display its context menu;

·         Use the Choose Items command from the context menu to open the Choose Toolbox Items dialog window;

·         Locate and select the controls you want to add within the .NET Framework Components tab of the Choose Toolbox Items dialog window;

·         Click OK to close the dialog window. The controls are added to your Toolbox group;

·         Double click a control reference shortcut icon from the Toolbox group to create an instance of that control within your form that is open in the Windows® Forms user interface designer.