Windows窗体应用程序变量问题 [英] Windows Form Application Variable Question

查看:80
本文介绍了Windows窗体应用程序变量问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个名为User的类。我想创建一个名为myUser的User对象,它可以访问我创建的两个窗体。我有main.cpp调用第一个表单的创建

I have a class called User. I want to make a User object called myUser that can be access able to both windows forms that i have create. I have main.cpp which calls the creation of the first form

展开 | 选择 | Wrap | 行号

推荐答案

这看起来像C#。


将其移至.NET论坛。
This looks like C#.

Moving this to the .NET forum.



这看起来像C#。


将其移至.NET论坛。
This looks like C#.

Moving this to the .NET forum.



它是C ++,但可能是.NET构造

It''s C++, but probably .NET constructs



它是C ++,但可能是.NET构造
It''s C++, but probably .NET constructs



是的我使用的是c ++这是我第一次使用gui进行c ++这样我就迷失了使用。我遵循了一个让我在visual c ++中使用windows窗体应用程序的指南。这让我来到这里

Yeah i am using c++ this is my first time using a gui for c++ so i am lost and confused on what to use. I follow a guide that had me using the windows form application in visual c++. Which brought me here


这篇关于Windows窗体应用程序变量问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆