我使用GridsummaryItem将TotalSummary添加到了GridControl,但是无法识别或访问成员“ SummaryType”,无法在Visual Studio中看到设计,但是在运行应用程序时显示摘要。
print("What language would you prefer?\n e for English, s for spanish, f for french")
choice= input("Your choice\n")
english= "Hello iso-3166-2: en-us"
french= "Salut! iso-3166-2:fr"
spanish= "Ola iso-3166-2:es"
if choice == "e":
print (english)
elif choice == "f":
print (french)
elif choice == "s":
print (spanish)
while True:
res= input("Do you want to choose another language? Yes/No:")
if res == "No":
break