Ignore:
Timestamp:
Apr 13, 2007, 5:12:31 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

Object.ReferenceEqualsを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/Drawing/Size.ab

    r166 r212  
    1919    End Sub
    2020
    21     Sub Size(ByRef sz As Size)
     21    Sub Size(sz As Size)
    2222        width = sz.width
    2323        height = sz.height
     
    6262        Return Not Equals(sz)
    6363    End Function
    64 
     64/*
    6565    Sub Operator =(ByRef sz As Size)
    6666        width = sz.width
    6767        height = sz.height
    6868    End Sub
    69 
     69*/
    7070    Function Equals(sz As Size) As Boolean
    7171        If width = sz.width And height = sz.height Then
     
    8181
    8282    Function IsEmpty() As Boolean
    83         If width = 0 And height = 0 Then
    84             Empty = _System_TRUE
    85         Else
    86             Empty = _System_FALSE
    87         End If
     83        Return width = 0 And height = 0
    8884    End Function
    8985
Note: See TracChangeset for help on using the changeset viewer.