コード例 #1
0
 public ButtonClickedEventArgs(MouseEventArgs e, ImageMapButtonArea area)
     : base(e.Button, e.Clicks, e.X, e.Y, e.Delta)
 {
     this.Area = area;
 }
コード例 #2
0
        public bool Equals(ImageMapButtonArea other)
        {
            if( other == null )
                return false;

            return (
                this.Text == other.Text &&
                this.ChromaKey.ToArgb() == other.ChromaKey.ToArgb() &&
                this.Location == other.Location &&
                this.Size == other.Size &&
                this.Destination == other.Destination &&
                this.ToggleMode == other.ToggleMode
            );
        }