コード例 #1
0
ファイル: AppearanceBorder.cs プロジェクト: m309/fiddler-plus
 /// <summary>
 /// Indicates wether designer needs to serialize <see cref="CornerShape"/> property.
 /// </summary>
 /// <returns>Returns true if <see cref="CornerShape"/> property needs to be serialized.</returns>
 protected bool ShouldSerializeCornerShape()
 {
     return(cornerShape.DefaultChanged());
 }
コード例 #2
0
ファイル: AppearanceBorder.cs プロジェクト: m309/fiddler-plus
 /// <summary>
 /// Get wether default values of the object has been modified.
 /// </summary>
 /// <returns>Returns true if default values has been modified for current object.</returns>
 public virtual bool DefaultChanged()
 {
     return(borderLineStyle != DashStyle.Solid || borderVisibility != ToolStripStatusLabelBorderSides.All ||
            CornerShape.DefaultChanged());
 }