public void SetCompanyProfile(CompanyProfile cp) { if (cp.IsNull()) return; if (cp.Logo.IsNotEmpty()) companyLogoBox.Image = Image.FromStream(new MemoryStream(cp.Logo)); lblCompanyName.Text = cp.Name; }
public void SetCompanyProfile(CompanyProfile companyProfile) { this.CompanyProfile = companyProfile; }