private async void SetContactInfo() { InterfaceToDataBaseOtherMethods Method = new InterfaceToDataBaseOtherMethods(); contactLabel.Text = await Method.GetContactInfo(); if (contactLabel.Text == null) { contactLabel.Text = Properties.Resources.DefaultContactInfo; } contactLabel.Text += "\n\n" + Properties.Resources.SOSMContactInfo; }
private async void SetWelcomeMessage() { InterfaceToDataBaseOtherMethods Method = new InterfaceToDataBaseOtherMethods(); welcomeMessageLabel.Text = await Method.GetWelcomeMessage(); if (welcomeMessageLabel.Text == null) { welcomeMessageLabel.Text = Properties.Resources.DefaultWelcomeMessage; } if (welcomeMessageLabel.Text == "") { welcomeMessagePanel.Visible = false; } }