This commit is contained in:
parent
d12adf6ace
commit
9ec318366c
@ -120,6 +120,12 @@ namespace Volian.Controls.Library
|
||||
get { return _Attachment; }
|
||||
set { _Attachment = value; this.Refresh(); }
|
||||
}
|
||||
private bool _AutoTOC = false;
|
||||
public bool AutoTOC
|
||||
{
|
||||
get { return _AutoTOC; }
|
||||
set { _AutoTOC = value; this.Refresh(); }
|
||||
}
|
||||
private ExpanderStyle _MyExpanderStyle = ExpanderStyle.Square;
|
||||
public ExpanderStyle MyExpanderStyle
|
||||
{
|
||||
@ -184,15 +190,18 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (Attachment)
|
||||
{
|
||||
PointF[] myArrow = new PointF[7];
|
||||
myArrow[0] = new PointF(7 * weight, 3 * weight);
|
||||
myArrow[1] = new PointF(11 * weight, 6 * weight);
|
||||
myArrow[2] = new PointF(7 * weight, 9 * weight);
|
||||
myArrow[3] = new PointF(7 * weight, 7 * weight);
|
||||
myArrow[4] = new PointF(2 * weight, 7 * weight);
|
||||
myArrow[5] = new PointF(2 * weight, 5 * weight);
|
||||
myArrow[6] = new PointF(7 * weight, 5 * weight);
|
||||
e.Graphics.FillPolygon(bBackground, myArrow);
|
||||
if (!AutoTOC)
|
||||
{
|
||||
PointF[] myArrow = new PointF[7];
|
||||
myArrow[0] = new PointF(7 * weight, 3 * weight);
|
||||
myArrow[1] = new PointF(11 * weight, 6 * weight);
|
||||
myArrow[2] = new PointF(7 * weight, 9 * weight);
|
||||
myArrow[3] = new PointF(7 * weight, 7 * weight);
|
||||
myArrow[4] = new PointF(2 * weight, 7 * weight);
|
||||
myArrow[5] = new PointF(2 * weight, 5 * weight);
|
||||
myArrow[6] = new PointF(7 * weight, 5 * weight);
|
||||
e.Graphics.FillPolygon(bBackground, myArrow);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user