2011-12-13 11 views
0

ユーザー作成メソッドをプロパティダイアログに表示する際の問題点 最も基本的なテキストボックスを作成して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 
     } 
    } 
} 

が表示されない? ありがとう。

答えて

3

方法は、プロパティグリッドには示されていないだけプロパティとイベントがあります

+0

これはすぐにこの質問を終了します。 – LarsTech

関連する問題