public void CopyFrom(PresentationStateAttributes src) { if (src != null) { _instanceNumber = src.InstanceNumber; _presentationLabel = src.PresentationLabel; _presentationDescription = src.PresentationDescription; _presentationCreator = src.PresentationCreator; _creationDate = src.CreationDate; _creationTime = src.CreationTime; } }
public PresentationStateAttributesDialog() { InitializeComponent(); _presentation = new PresentationStateAttributes(); }
private void PresentationStateAttributesDialog_Load(object sender, EventArgs e) { _presentationOriginal = new PresentationStateAttributes(); _presentationOriginal.CopyFrom(_presentation); FillPresentationStateAttributesControls(); }