继承人我的问题(试图从控制台加载窗体窗口。有点像python) [英] Heres my problem (Trying to load a Form window from the Console. Kinda like python)

查看:72
本文介绍了继承人我的问题(试图从控制台加载窗体窗口。有点像python)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

[1]我遇到的问题是,我似乎无法弄清楚如何查找和/或添加代码,告诉我如何添加单行或几行代码。


[1] The problem im having is that i cannot seem to figure out how to find and or add the code that will tell me how to add a single line or a few lines of code.



同时运行一个表单和consle

我认为这个主题总结了我的问题比我更好,这就是我试图从根本上做的事情。能够同时看到表单和控制台。



[2]第二个问题是我很难尝试获取我写的目录工作正常。这个问题是我可以在Program Files目录中创建SOAGameMaker目录。我遇到的问题是子文件夹
我已经分配了一组<核心子文件夹> (在文件夹中的文件夹)当我试图将这些核心子文件夹只显示为"资产"时,将其放入SOGameMaker目录中的其他子文件夹中。 SOAGameMaker中的子文件夹。因为我需要
来继续删除其他子文件夹中的重复文件。文件不应该是。


Running a form and consle at the same time
I think this topic sums up my question better then me, this is what im trying to do fundamentally. Be able to see the form and console at the same time.

[2] The second problem is that im having a hard time trying to get the directories i wrote to work right. The issue with this is that i CAN create the SOAGameMaker directory in the Program Files directory, however. The problem im having is that the subfolder i have assigned a set of <Core Subfolders> (Folders with in folders) Gets put in the other subfolders in the SOGameMaker Directory, when im trying to icolate those core subfolders to only the "Assets" Subfolder inside of SOAGameMaker. Because i need to keep deleting the duplicate files in the other subfolders ware the files ARE NOT suppose to be.

那么,有什么帮助吗?

推荐答案

基本问题是Windows窗体需要一个消息循环。控制台应用程序没有。  的文件Application.Run方法应该解释一下。

The basic problem is that a Windows Form needs a message loop. A console application has none. The documentation of  the Application.Run method should explain that.

你为什么要那样做?你能解释一下吗?也许有更好的解决方案..

Why do you want to do that? Can you explain it? Maybe there is a better solution..


这篇关于继承人我的问题(试图从控制台加载窗体窗口。有点像python)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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