public AttributePointPopup()
     : base()
 {
     this.AllowsTransparency = true;
     _control = new AttributePointPopupControl();
     this.Child = _control;
     _control.DoneClick += new System.Windows.RoutedEventHandler(_control_DoneClick);
 }
예제 #2
0
 public AttributePointPopup()
     : base()
 {
     this.AllowsTransparency = true;
     _control            = new AttributePointPopupControl();
     this.Child          = _control;
     _control.DoneClick += new System.Windows.RoutedEventHandler(_control_DoneClick);
 }
예제 #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();
        }
예제 #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();
        }
예제 #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));
            }
        }
예제 #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));
            }
        }