public async void Show(string managementCompanyName) { Profile = await Server.GetManagementCompanyProfile(managementCompanyName); lblName.Text = $" {Profile.Name}"; lblInfo.Text = $" {Profile.Info}"; LoadMeeting(); this.Show(); }
public FormFotMeetingCreate(string managementCompanyId, List <BuildingReference> buildings, ManagementCompanyProfileView profile) { InitializeComponent(); ManagementCompanyId = managementCompanyId; foreach (var binding in buildings) { cmbBuildingAddressesForCreateMeeting.Items.Add(new ComboBoxItem() { Content = binding.Address, Tag = binding.BuildingId.ToString() }); } Profile = profile; }