singlepost

создание компонент в c# << На главную или назад  

напишите пожалуйста пример компоненты наследующейся например от Panel
я вроде все правильно делаю, их можно потом создавать вручную конструктором, а в toolbox не появляются.. что надо сделать чтоб после билда они туда падали?
vs 2005

2 ответов в теме “создание компонент в c#”

  1. 2
    Константин Винник ответил:

    правой кнопкой по тулбоксу и далее по инструкции… его добавляешь и усе

  2. 1
    Алексей Голубев ответил:

    А вот что пишут на эту тему эксперты:

    1. I have had this problem several times in VS.NET 2005. A lot of the time I just do a Clean and Rebuild (not a build) and they will show back up.

    2. if you are working on WinForms you need to create a separate project for you custom control for organizing your project purposes.
    From your custom control project create or implement your custom control, you can do freely whatever you like. you can implement delegates, arrays, entities to your control or drag as much .net control into it. after everything is set don't forget to build the solution to update the project .dll. Go to your tool box and right click. from the menu select Choose Items… and a dialogue box opens. make sure you are in the .net tab and browse the dll of your costom control then add it to your toolbox then it's there. start your drag and drop.

    Пробуй сначала первое, потом второе

Клуб программистов работает уже ой-ой-ой сколько, а если поточнее, то с 2007 года.