public void GetCommonInfo2(AIOCommonInfo info) { info.ratings = this.ratingField1.Ratings; info.comment = txtComment.Text.Trim(); info.createdDate = lblCreatedDate.Text; info.path = txtPath.Text.Trim(); }
public void LoadDetails(AIOCommonInfo info) { this.ratingField1.Ratings = info.ratings; this.txtComment.Text = info.comment; this.lblCreatedDate.Text = info.createdDate; this.txtPath.Text = info.path; }
//Get all public AIOCommonInfo GetCommonInfo() { AIOCommonInfo info = new AIOCommonInfo(); info.ratings = this.ratingField1.Ratings; info.comment = txtComment.Text.Trim(); info.createdDate = lblCreatedDate.Text; info.path = txtPath.Text.Trim(); return(info); }