Object and Property name changes for consistency

This commit is contained in:
Rich
2008-03-27 19:39:10 +00:00
parent 7caa952bc3
commit c0511c990d
19 changed files with 2229 additions and 1407 deletions

View File

@@ -120,11 +120,11 @@ namespace Volian.Controls.Library
get { return _Attachment; }
set { _Attachment = value; this.Refresh(); }
}
private ExpanderStyle _Style = ExpanderStyle.Square;
public ExpanderStyle Style
private ExpanderStyle _MyExpanderStyle = ExpanderStyle.Square;
public ExpanderStyle MyExpanderStyle
{
get { return _Style; }
set { _Style = value; this.Refresh(); }
get { return _MyExpanderStyle; }
set { _MyExpanderStyle = value; this.Refresh(); }
}
private void vlnExpander_Paint(object sender, PaintEventArgs e)
{
@@ -143,7 +143,7 @@ namespace Volian.Controls.Library
e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
p = new Pen(_BorderColor, _PenWidth);
int penWidth = ClientRectangle.Width / _WidthFactor;
switch (_Style)
switch (_MyExpanderStyle)
{
case ExpanderStyle.Round:
//e.Graphics.FillEllipse(Brushes.Gray, 0F, 0F, diameter, diameter);