Пример #1
0
        public bool Equals(FontColor p)
        {
            if ((object)p == null)
            {
                return(false);
            }

            return((this.Name == p.Name) && (this.Brush.Equals(p.Brush)));
        }
Пример #2
0
        public bool Equals(FontColor p)
        {
            if ((object)p == null)
            {
                return false;
            }

            return (this.Name == p.Name) && (this.Brush.Equals(p.Brush));
        }
Пример #3
0
        public override bool Equals(System.Object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            FontColor p = obj as FontColor;

            if ((System.Object)p == null)
            {
                return(false);
            }

            return((this.Name == p.Name) && (this.Brush.Equals(p.Brush)));
        }
Пример #4
0
 public ColorPickerViewModel()
 {
     this.selectedFontColor = AvailableColors.GetFontColor(Colors.Black);
     this.roFontColors = new ReadOnlyCollection<FontColor>(new AvailableColors());
 }
Пример #5
0
 public ColorPickerViewModel()
 {
     this.selectedFontColor = AvailableColors.GetFontColor(Colors.Black);
     this.roFontColors      = new ReadOnlyCollection <FontColor>(new AvailableColors());
 }