Is it possible to create a Windows Form in a C# Class Library?

前端 未结 4 1727
栀梦
栀梦 2021-02-05 19:19

I\'ve been building DLL class libraries in C#, used as add-ons to an application which provides a Custom API. Up until now they\'ve included mostly interfacing with databases,

4条回答
  •  我在风中等你
    2021-02-05 20:01

    if the New form is already in a Windows project that has to stay windows application..

    try these Steps not sure if this is what you want... hope it helps.

    1. Create new Dll Project
    2. Copy Form.cs, FormDesigner.cs and form.resx into the new dll project Folder
    3. Add Existing

提交回复
热议问题