コード例 #1
0
ファイル: RECT.cs プロジェクト: wuthering-bytes/sharpthrak
		/// <summary>
		/// Builds a RECT structure from another one.
		/// </summary>
		/// <param name="Rectangle">RECT structure to be duplicated.</param>
		public	RECT ( RECT  Rectangle ) : 
				this ( Rectangle. Left, Rectangle. Top, Rectangle. Right, Rectangle. Bottom )
		   { }
コード例 #2
0
ファイル: RECT.cs プロジェクト: wuthering-bytes/sharpthrak
		/// <summary>
		/// Checks for equality between this instance and another RECT structure.
		/// </summary>
		public bool	Equals  ( RECT  Rectangle )
		   {
			return 
			   (
				Rectangle. Left		==  _Left	&& 
				Rectangle. Top		==  _Top	&& 
				Rectangle. Right	==  _Right	&& 
				Rectangle. Bottom	==  _Bottom
			    ) ;
		    }