Ejemplo n.º 1
0
 public void AddGraphicPath(InfoGraphicObject currentObject, params InfoGraphicObject[] graphicObjects)
 {
     RemoveCurrentObjectHelpers(false);
     CurrentObject = currentObject;
     GraphicPath.Clear();
     GraphicPath.AddRange(graphicObjects);
 }
Ejemplo n.º 2
0
        private void InitializeInfoGraphicH()
        {
            infoGrH = new InfoGraphic(pictureBox1);

            subeH      = infoGrH.AddGraphicObject("Şube", false);
            hazineH    = infoGrH.AddGraphicObject("Hazine Müd.", true);
            tahm1H     = infoGrH.AddGraphicObject("Tahsilatlar Müd.1", false);
            pazarlamaH = infoGrH.AddGraphicObject("Pazarlama Görüşü", true);
            tahsisH    = infoGrH.AddGraphicObject("Tahsis Görüşü", true);
            kop1H      = infoGrH.AddGraphicObject("Kredi Opr.1", false);
            kop2H      = infoGrH.AddGraphicObject("Kredi Opr.2", false);
            tahm2H     = infoGrH.AddGraphicObject("Tahsilatlar Müd.2", false);

            infoGrH.AddGraphicRelation(subeH, tahm1H);
            infoGrH.AddGraphicRelation(tahm1H, kop1H);
            infoGrH.AddGraphicRelation(kop1H, kop2H);
            infoGrH.AddGraphicRelation(kop2H, tahm2H);

            infoGrH.AddGraphicRelation(subeH, hazineH);
            infoGrH.AddGraphicRelation(hazineH, tahm1H);
            infoGrH.AddGraphicRelation(tahm1H, pazarlamaH);
            infoGrH.AddGraphicRelation(tahm1H, tahsisH);

            infoGrH.InitializeInfoGraphicObject();
        }
Ejemplo n.º 3
0
        public InfoGraphicObject AddGraphicObject(string caption, bool isChild)
        {
            InfoGraphicObject item = new InfoGraphicObject()
            {
                Caption = caption, IsChild = isChild, Id = (byte)(GraphicObject.Count + 1)
            };

            GraphicObject.Add(item);
            return(item);
        }
Ejemplo n.º 4
0
 public void AddGraphicRelation(InfoGraphicObject key, InfoGraphicObject value)
 {
     GraphicRelation.Add(new KeyValuePair <InfoGraphicObject, InfoGraphicObject>(key, value));
 }