C#Windows表单类型 [英] C# windows form type

查看:134
本文介绍了C#Windows表单类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想知道什么是C#windowsform类型?
(例如,在vb中,windowsform的类型为.ODB)
我认为在C#中是.PDB,对吗?
请帮帮我
我想在2天之内:sigh:

Hi,
I want to know what is the C# windowsform type?
(e.g. in vb windowsform type is .ODB)
I think in c# it is .PDB , that''s right?
Please help me
I wanna it in 2 days :sigh:

推荐答案

我不确定您要问的是什么,没有winforms文件类型.据我所知,PDB文件仅包含大量调试信息.

有些.res文件可能包含用于表单的字符串或图像,但实际上,表单是由用于生成表单的任何指令(代码)构成的.
I''m not entirely sure what your asking, there is no winforms file type. PDB files just contain a load of debugging information as far as I''m aware.

There are .res files that may contain strings or images used on a form, but really a form is built up from whatever instructions (code) you use to make it.


有两种可能答案,都不适合您提出问题的地方.

1.表单通常存储在1到3个文件中.
FormName.cs
FormName.Designer.cs
FormName.resx

2.窗体是一个ContainerControl.完整的继承人是:
There are two possible answers, neither of which fits where you are leading your question.

1. A Form is stored in between 1 and 3 files normally.
FormName.cs
FormName.Designer.cs
FormName.resx

2. A Form is a ContainerControl. The full inhertance is:
Form
  ContainerControl
    ScrollableControl, IContainerControl
      Control, IComponent, IDisposable
        Component, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
          MarshalByRefObject, IComponent, IDisposable


dream_land写道:
dream_land wrote:

n vb Windows窗体类型为.ODB

n vb windowsform type is .ODB


在VB(VB 6.0)格式中,使用文件扩展名.frm.

在C#中,表单文件扩展名为.cs(即类文件).


In VB (VB 6.0) form uses the file extension .frm.

In C#, the form file extension is .cs (i.e. a class file).


这篇关于C#Windows表单类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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