C#简单组合盒输出,2个组合框,一个按钮和一个标签。

C#简单组合盒输出,2个组合框,一个按钮和一个标签。

问题描述:

大家好





我正在努力完成这项练习。我对编程很陌生,对此非常沮丧。我研究过多个网站。希望任何人都可以提供帮助!



我需要创建一个带有2个ComboBox的WindowsFormApp,每个ComboBox有2个值。当按下按钮时,表单上标签中的输出需要显示一个唯一的句子,具体取决于用户在组合框中选择的所选字段的组合。





希望有人可以提供帮助!

Hi Everyone


I''m struggling with this practice assignment. I''m very new to programming and am fairly frustrated with this. I''ve researched multiple sites. Hope anyone can help!

I need to create a WindowsFormApp with 2 ComboBoxs having 2 values each. When a button is pressed the output in the Label on the form needs to show a unique sentence, depending on which combination of selected fields the user selected in the ComboBoxs.


Hope someone can help!

从这里开始:

C#教程 [ ^ ]

C#示例应用程序 [ ^ ]



其他资源:

http://stackoverflow.com/questions/4058350 / C锋利的WinForms过滤酮组合框-b另一个组合框的价值 [ ^ ]

http://stackoverflow.com/questions/4314679/how -to-create-an-auto-complete-combo-box-or-text-box-to-filter-text-containing-a [ ^ ]

http ://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/6ad78db7-9bc4-4006-8838-fb8826cf8457/ [ ^ ]
Start here:
C# Tutorials[^]
C# Sample Applications[^]

Other resources:
http://stackoverflow.com/questions/4058350/c-sharp-winforms-filtering-one-combobox-based-on-the-value-of-another-combobox[^]
http://stackoverflow.com/questions/4314679/how-to-create-an-auto-complete-combo-box-or-text-box-to-filter-text-containing-a[^]
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/6ad78db7-9bc4-4006-8838-fb8826cf8457/[^]