public void OnShippingInfoNotFilled(object sender, EventArgs e) { if (ProductsBase.NeedEnterAddress()) { AddAddressClicked(lnAddAddress, e); } else { DeliveryOptionType currentOption = getDeliveryOptionTypeFromDropdown(DeliveryType); string message = PlatformResources.GetGlobalResourceString("ErrorMessage", "ShippingNickNameNotPopulated"); if (currentOption == DeliveryOptionType.Pickup) { message = PlatformResources.GetGlobalResourceString("ErrorMessage", "PickUpNickNameNotPopulated"); } (ProductsBase.Master as OrderingMaster).Status.AddMessage(message); } }