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