コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((ContinueLabel.GetHashCode() * 397) ^ BreakLabel.GetHashCode());
     }
 }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (_image != null)
            {
                _image.Dispose();
                _image = null;
            }

            if (CatalogButton != null)
            {
                CatalogButton.Dispose();
                CatalogButton = null;
            }

            if (CloseButton != null)
            {
                CloseButton.Dispose();
                CloseButton = null;
            }

            if (ContinueLabel != null)
            {
                ContinueLabel.Dispose();
                ContinueLabel = null;
            }

            if (OrderNumberLabel != null)
            {
                OrderNumberLabel.Dispose();
                OrderNumberLabel = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
コード例 #3
0
 protected bool Equals(LoopData other)
 {
     return(ContinueLabel.Equals(other.ContinueLabel) && BreakLabel.Equals(other.BreakLabel));
 }