Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
示例#1
0
 public void SetFont(Font font)
 {
     if (!font.Equals(this.Font))
     {
         this.Font = font;
         if (formattedText != null)
         {
             ApplyFont();
         }
     }
 }
示例#2
0
		public void SetFont(Font font)
		{
			if (!font.Equals(this.Font))
			{
				this.Font = font;
				if (formattedText != null)
					ApplyFont();
			}
		}