/// <summary> /// Constructor to initialize the DataSourcePointList from an /// existing <see cref="DataSourcePointList" /> /// </summary> public DataSourcePointList( DataSourcePointList rhs ) : this() { _bindingSource.DataSource = rhs._bindingSource.DataSource; if ( rhs._xDataMember != null ) _xDataMember = (string)rhs._xDataMember.Clone(); if ( rhs._yDataMember != null ) _yDataMember = (string)rhs._yDataMember.Clone(); if ( rhs._zDataMember != null ) _zDataMember = (string)rhs._zDataMember.Clone(); if ( rhs._tagDataMember != null ) _tagDataMember = (string)rhs._tagDataMember.Clone(); }
/// <summary> /// Constructor to initialize the DataSourcePointList from an /// existing <see cref="DataSourcePointList" /> /// </summary> public DataSourcePointList(DataSourcePointList rhs) : this() { _bindingSource.DataSource = rhs._bindingSource.DataSource; if (rhs._xDataMember != null) { _xDataMember = (string)rhs._xDataMember.Clone(); } if (rhs._yDataMember != null) { _yDataMember = (string)rhs._yDataMember.Clone(); } if (rhs._zDataMember != null) { _zDataMember = (string)rhs._zDataMember.Clone(); } if (rhs._tagDataMember != null) { _tagDataMember = (string)rhs._tagDataMember.Clone(); } }