public ITPhaseControl(string name, string phaseName, string deliverableName, string milestoneName, string checkpointName, int x, int y) :base(name,x,y,173,468) { //Debug = true; fCS = new PLCColorScheme(); fBaseFrame = new Rectangle(x, y, 173, 468); fExpandedFrame = new Rectangle(x, y, 400, 468); fIsExpanded = false; GraphicsUnit = GraphicsUnit.Inch; // Big arrow fBigArrow=new GraphicArrow("bigarrow", 0, 0, 173, 468); //AddGraphic(fBigArrow); // Heading GradientRectangle gRect = new GradientRectangle(0, 0, 118, 35, RGBColor.White, fCS.HeaderBack, fCS.HeaderBorder, 90); HeadingButton heading = new HeadingButton(phaseName, "Tahoma", 11, GDIFont.FontStyle.Bold, 6, 36, 118, 35, StringAlignment.Center, StringAlignment.Center, fCS.HeaderText, gRect); heading.MouseUpEvent +=new EventHandler(HeadingClicked); AddGraphic(heading); // Production Phase Deliverables List // The deliverables, milestones, checkpoints AddGraphic(new DeliverablesList(deliverableName, 6, 85, 117, 152, fCS.ProductBack, fCS.ProductBorder, 45)); AddGraphic(new DeliverablesList(milestoneName, 6, 255, 117, 119, fCS.MilestoneBack, fCS.MilestoneBorder, 45)); AddGraphic(new DeliverablesList(checkpointName, 6, 391, 117, 40, fCS.ChecklistBack, fCS.ChecklistBorder, 90)); }
public PLCITView(string name, int x, int y, int width, int height) : base(name, "Product Life Cycle - IT", x, y, width, height) { fMyDataBinder = new ITDataBinder(this); Legend = new ITLegend(); fExpansionFrame = new Rectangle(250, 150, 500, 470); fShadowArrow = new GraphicArrow("shadowArrow", fExpansionFrame.Left+4, fExpansionFrame.Top+6, fExpansionFrame.Width, fExpansionFrame.Height, RGBColor.RGB(128,200, 200), RGBColor.TRANSPARENT); fActiveControl = null; //PreferredTransition = new StretchRight(0.5); PreferredTransition = new StretchUp(0.5); //PreferredTransition = new PushRight(null, null, Rectangle.Empty, 0.5); }
public override void AddPhaseArrows() { GraphicArrow bigArrow = null; bigArrow = new GraphicArrow("graphicArrow", -20, 236, 51, 224); AddGraphic(bigArrow); bigArrow = new GraphicArrow("phase1Arrow", 61, 236, 205, 224); AddGraphic(bigArrow); bigArrow = new GraphicArrow("phase2Arrow", 282, 236, 498, 224); AddGraphic(bigArrow); bigArrow = new GraphicArrow("phase3Arrow", 793, 236, 205, 224); AddGraphic(bigArrow); }