c organization of the application, c how it is applied in actual development

Updated on technology 2024-05-25
16 answers
  1. Anonymous users2024-02-11

    You can use a constructor.

    This is what you would typically write when you open a subform:

    frmchild frm=new frmchild();

    First of all, you need to understand that frmchild() is the constructor of the subform, and new frmchild() means to establish a reference to the constructor of the subform. Constructors, on the other hand, are overloaded, so arguments can be passed.

    For example, the constructor in a subform is.

    The public frmchild(textbox txt){} parameter is of type textbox, so you can do this when you open a new form.

    frmchild frm=new frmchild(texbbox1)

    textbox1 is a text box of the parent form, so that you can get a reference to the text box of the parent form in the child form. public frmchild(textbox txt) can then display the value of the parent form's text box.

  2. Anonymous users2024-02-10

    The main form is large, so you can't create an instance of the main form inside a child form"

    If there are not many callers, you can use the method mentioned above, just keep the callee's reference on the caller, and you don't need to instantiate.

    If there are a lot of callers, I think it's better to be static, it should be static.

  3. Anonymous users2024-02-09

    How is it possible to create an instance of the main form in a subform?

    You already have the main form, and you want to access it.

    At most, it's just a reference to him in the subform.

    form f = mainform;

    This doesn't make a new object come out.

  4. Anonymous users2024-02-08

    First: install development tools, such as Visual Studio 2003 2005 Second: choose the development direction, whether to make general Windows applications or web applications.

    Rear left: Choose the appropriate project template, and then you can use C for development. - To give an example:

    You're going to make a multiplayer battle game. And your development tools are already installed. Open the development tools and build a solution.

    You can create a new console application project for your game server; You can create a Windows application project for your game client; It is also possible to build a web application project for your game**; After that, you can introduce the corresponding by using the C language. .NET class library. - To sum it up:

    #1 .The .NET Class Library provides the low-level support for what your program is intended to do, without which C can't do anything. 2 Visual Studio 2003 2005 provides you with the ability to compile, and debug C programs when you write them.

    3 Project Templates Generate some common ** and organizational structure for the specific application you want to develop.

  5. Anonymous users2024-02-07

    Method 1: Obtain or set the full qualified path to the working directory before the collapse of the console application.

    Method 2: Get the base directory, which is used by the assembly conflict resolution program to detect the assembly.

    How to get the root directory of the WinForm application 1. Gets or sets the fully qualified path to the current working directory.

    2、;Gets the path to the executable file that launched the application, not including the name of the executable.

    3、;Gets the current working directory of the application Circle Order.

    4、;Gets the base directory, which is used by the assembly conflict resolver to probe the assembly.

    5、;Gets or sets the name of the directory that contains the application.

  6. Anonymous users2024-02-06

    Create a new solution, or create a new project.

    Then right-click on the solution and add Add Existing Projects, add the projects you want to organize, and then recompile your new solution (or project).

    When you open it again, open the solution directly, and all the items in it will be automatically loaded.

  7. Anonymous users2024-02-05

    Import an existing project directly and you're good to go

  8. Anonymous users2024-02-04

    Two sentences!

    Add multiple projects into one solution!

    Generally speaking, a project is a layer!

  9. Anonymous users2024-02-03

    .net

    Framework is a framework, and C is just a programming language in a framework, but use that language.

    Yes to be installed. net

    framework. And, for example. net

    Framework is equivalent to the country**, you have to open a company to do things through the business administration certificate issued by the state in order to operate, this is C is built on. net

    Framework, if your company doesn't follow national policies, then it can't operate effectively, and your C can't work.

  10. Anonymous users2024-02-02

    dotnet==.net

    As mentioned above.NET is a platform, a framework, and C is just a tool on this platform.

  11. Anonymous users2024-02-01

    ..NET is Microsoft's development platform.

    c is the language of this development platform.

  12. Anonymous users2024-01-31

    .netOne platform, one framework.

    c is a language.

    WinForm refers to a pattern of developing Windows desktop programs, and with a little explanation, these things will be understood as you learn more.

    .net is a platform, this platform supports a lot of things, a lot of programming languages, c is just one of them, there are also languages such as f, use. The program developed by the .NET platform cannot be run directly on Windows.,You need to install something called .NET Framework.,The latest version is,Windows7 system has integrated .NET Framework.

    c is just a standardized language, and its syntax has been standardized by the International Organization for Standardization, not only. .NET supports C language, and there is a Mono platform under Linux, which also supports C

    WinForm refers to a mode of developing Windows desktop programs, of course, it is not only a pattern, but also provides a lot of controls to use, and it is easy to build a Windows desktop program. In fact, there are many ways to develop Windows desktop programs, and it is a very primitive way to directly call Windows API in C language, and you can use MFC in VC++. .NET provides the WinForm model!

  13. Anonymous users2024-01-30

    ..NET is the development platform for the language, C is the compatible development language on this platform, and WinForm is. .net is used for form development.

  14. Anonymous users2024-01-29

    WinForm is a window development program, that is, what is an exe file, etc. .NET is a software technology, and C is. .NET, but also VB and so on.

  15. Anonymous users2024-01-28

    ..net is a language, and c is based on. A development tool for .NET, WinForm is a program developed by C.

  16. Anonymous users2024-01-27

    To use an analogy.

    .net is one of the fonts in this dictionary, c is one of the fonts, and winform is one of the specific words.

Related questions
25 answers2024-05-25

I haven't used the key elf.,But the words of the rebuild are all the same.,The reason why I want to rebuild,It's because the default control key in the inventory in Chenghai is the 784512 of the keypad.,The right hand controls the mouse.,The keypad is difficult to press.,If you use the mouse point alone,,The speed is very slow.,So use the remodeling tool to change the keypad 784512 to the left hand can be pressed to the key that doesn't conflict with the skill keys in Chenghai.,For example,I'm used to putting silence and teleportation at the top of the inventory.,The corresponding keypad is 7 and 8., I used the remodeling to change the 7 key, change the 8 to the space bar, so that it is very convenient to press, if with hurricane and purification, you can also change the keypad 4 or 5 to the q key, the specific modification should be the same: open the remodel, click on the default key, and then enter the key you want to change. And run the game after the change, don't forget to turn on the reconstruction, otherwise it's useless.

1 answers2024-05-25

The reason for Huai grip to sum up, there are the following aspects, occasionally appearing, point: cancel, you can! >>>More

6 answers2024-05-25

First of all, take a look at what the prompted program is, it may be that there is a problem with this program, if it is uninstalled and reinstalled. If there is a prompt at boot, you can remove the boot start of this program. If you can't find it, you can recall, when you had this kind of failure, what program software, plug-ins, patches or drivers you had, if you want to uninstall them all first, try (please write the English name of a program in the upper left corner of the error prompt?) >>>More

2 answers2024-05-25

1. Start running regedit to enter the registry, under hkey local machine software microsoft windows currentversion explorer shellexecutehooks, there should be only one normal key value", and delete the others (of course, don't delete the default key). >>>More