public DeliverableControl(string name, int x, int y, int width, int height,uint bkColor) : base(name, x, y, width, height) { LayoutHandler = new VFlowLayout(this, 4, 2); //Debug = true; fDeliverablesList = new DeliverablesList("deliverables", 0, 0, width, 250, bkColor,45); fCheckpointList = new CheckpointDeliverablesList("checkpoints", 0, 204, width, 50); AddChild(fDeliverablesList); AddChild(fCheckpointList); }
void AddProductDeliveryContainers() { uint bkColor = RGBColor.RGB(204, 221, 255); uint grnColor = RGBColor.RGB(221, 255, 204); uint greenBorder = RGBColor.RGB(102, 204, 51); DeliverablesList deliveryList = null; // First Phase Deliverables List // The deliverables list AddGraphic(new DeliverablesList("p1s1dlist", 65, 282, 167, 121, bkColor, 45)); // The matching Checklist AddGraphic(new DeliverablesList("p1s1clist", 65, 408, 167, 29, grnColor, greenBorder)); // 90 // The Product Development Stages // The deliverables list deliveryList = new DeliverablesList("p2s1dlist", 286, 282, 86, 121, bkColor); // 45 AddGraphic(deliveryList); // The matching Checklist deliveryList = new DeliverablesList("p2s1clist", 286, 408, 86, 29, grnColor, greenBorder); // 90 AddGraphic(deliveryList); // The deliverables list deliveryList = new DeliverablesList("p2s2dlist", 378, 282, 86, 121, bkColor); // 45 AddGraphic(deliveryList); // The matching Checklist deliveryList = new DeliverablesList("p2s2clist", 378, 408, 86, 29, grnColor, greenBorder); // 90 AddGraphic(deliveryList); // The deliverables list deliveryList = new DeliverablesList("p2s3dlist", 470, 282, 86, 121, bkColor); // 45 AddGraphic(deliveryList); // The matching Checklist deliveryList = new DeliverablesList("p2s3clist", 470, 408, 86, 29, grnColor, greenBorder); // 90 AddGraphic(deliveryList); // The deliverables list deliveryList = new DeliverablesList("p2s4dlist", 562, 282, 86, 121, bkColor); // 45 AddGraphic(deliveryList); // The matching Checklist deliveryList = new DeliverablesList("p2s4clist", 562, 408, 86, 29, grnColor, greenBorder); // 90 AddGraphic(deliveryList); // The deliverables list deliveryList = new DeliverablesList("p2s5dlist", 655, 282, 86, 121, bkColor); // 45 AddGraphic(deliveryList); // The matching Checklist deliveryList = new DeliverablesList("p2s5clist", 655, 408, 86, 29, grnColor, greenBorder); // 90 AddGraphic(deliveryList); // Last Stage // The deliverables list deliveryList = new DeliverablesList("p3s1dlist", 797, 282, 167, 121, bkColor); // 45 AddGraphic(deliveryList); // The matching Checklist deliveryList = new DeliverablesList("p3s1clist", 797, 408, 167, 29, grnColor, greenBorder); // 90 AddGraphic(deliveryList); }