1
Vote

exception in loading from file

description

there is an exception while loading from an external file
 public void Draw(PaintEventArgs e, int ConnectorIndex)
        {
            
            Rectangle v_ConnectorRectangle = this.GetArea();
            // CONNECTOR COLORING
            // TODO: ADD BOOLEAN FOR COLORING
            Pen v_ConnectorOutline;
            SolidBrush v_ConnectorFill;
            if (this.m_oView.ParentPanel.UseLinkColoring)
            {
                v_ConnectorOutline =    this.m_oDataType.ConnectorOutlinePen; // exception points
                v_ConnectorFill =       this.m_oDataType.ConnectorFillBrush; // exception points
            }
            else
            {
               v_ConnectorOutline =    this.m_oView.ParentPanel.ConnectorOutline;  // exception points
               v_ConnectorFill =       this.m_oView.ParentPanel.ConnectorFill;  // exception points
            }

file attachments

comments