public AttributePointPopup()
     : base()
 {
     this.AllowsTransparency = true;
     _control = new AttributePointPopupControl();
     this.Child = _control;
     _control.DoneClick += new System.Windows.RoutedEventHandler(_control_DoneClick);
 }
Ejemplo n.º 2
0
 public AttributePointPopup()
     : base()
 {
     this.AllowsTransparency = true;
     _control            = new AttributePointPopupControl();
     this.Child          = _control;
     _control.DoneClick += new System.Windows.RoutedEventHandler(_control_DoneClick);
 }
Ejemplo n.º 3
0
        public AttributePoint(SerializationInfo info, StreamingContext ctxt)
        {
            _point = (Point)info.GetValue("_point", typeof(Point));
            _attributePointSettings = (ObservableCollection<AttributePointSetting>)info.GetValue("_attributePointSettings", typeof(ObservableCollection<AttributePointSetting>));

            Draw(_point.X, _point.Y);

            _popup = new AttributePointPopupControl();
        }
Ejemplo n.º 4
0
        public AttributePoint(SerializationInfo info, StreamingContext ctxt)
        {
            _point = (Point)info.GetValue("_point", typeof(Point));
            _attributePointSettings = (ObservableCollection <AttributePointSetting>)info.GetValue("_attributePointSettings", typeof(ObservableCollection <AttributePointSetting>));

            Draw(_point.X, _point.Y);

            _popup = new AttributePointPopupControl();
        }
Ejemplo n.º 5
0
        public AttributePoint(Point point, Fixture fixture)
        {
            _point = point;
            _popup = new AttributePointPopupControl();
            Draw(point.X, point.Y);

            _attributePointSettings = new ObservableCollection<AttributePointSetting>();
            foreach (FixtureAttribute attribute in fixture.Attributes)
            {
                _attributePointSettings.Add(new AttributePointSetting(attribute));
            }
        }
Ejemplo n.º 6
0
        public AttributePoint(Point point, Fixture fixture)
        {
            _point = point;
            _popup = new AttributePointPopupControl();
            Draw(point.X, point.Y);

            _attributePointSettings = new ObservableCollection <AttributePointSetting>();
            foreach (FixtureAttribute attribute in fixture.Attributes)
            {
                _attributePointSettings.Add(new AttributePointSetting(attribute));
            }
        }