简体   繁体   English

Visual C ++ 2005中的向导

[英]Wizard in Visual C++ 2005

I'm trying to put together a wizard for one of my new applications. 我正在尝试为我的一个新应用程序组合一个向导。 I have been searching the web for a decent tutorial but I am having no luck. 我一直在网上搜索一个不错的教程,但是我没有运气。 I've tried this tutorial and this website but neither have worked for me. 我已经尝试过本教程本网站,但都没有为我工作。 Does any one know a good place to start from? 有谁知道一个好的起点? I am using Visual C++ 2005 and using .NET . 我正在使用Visual C ++ 2005和.NET。 I want to create a wizard that will follow the structure of the following: 我想创建一个遵循以下结构的向导:

  • Enter Name (edit box) 输入名称(编辑框)
  • Are You Sure you want to name it this (confirmation) 您确定要为此命名吗(确认)
  • Enter Parts (two list boxes where you can add and remove from one and another 输入零件(两个列表框,您可以在其中添加和删除)
  • Are you sure you have added all the parts (confirmation box) 您确定已添加所有零件(确认框)

Sorry if that's poorly explained, I will gladly try and clarify any extra details needed, I just need a good starting point basically. 抱歉,如果解释得不好,我很乐意尝试澄清所需的任何其他细节,基本上我只是需要一个好的起点。 Thank you in advance. 先感谢您。

First tutorial is for win32 project, so not .NET, and second one is for C#/VB.net. 第一个教程用于win32项目,而不是.NET,第二个教程用于C#/ VB.net。

I'd start with the second one, since it's for .NET, but you have to translate c# code to C++/CLI, which may be difficult if you're new to C++/CLI. 我将从第二个开始,因为它是针对.NET的,但是您必须将c#代码转换为C ++ / CLI,如果您不熟悉C ++ / CLI,这可能会很困难。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM