Проблемы с отображением созданного пользователем метода в диалоге свойств.
Итак, я создал самое простое текстовое поле и добавил его в winform.
Я вижу _key и _value, но метод не показывает: (
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace testTextbox
{
public class myTextbox : TextBox
{
public string _key { get; set; }
public string _value { get; set; }
public void aa()
{
// aa does not appear in the properties dialogue when the text box is on the form
}
}
}
Куда я иду не так?
Спасибо.