Hello R/Sir
I asked a question yesterday and i got satisfactory answer, but now i have another problem, the problem is that i want to inherit a button to add new properties to it my code is as follows.
namespace newButton
{
public partial class UserControl1 : Button
{
string myad;
string arabicLang;
public UserControl1()
{
InitializeComponent();
}
public string myvalue
{
get { return arabicLang; }
set { arabicLang = value; }
}
}
}
now the problem is that the my value is visible in the properties panel when i add the button to the toolbox, but it is like a textbox and gets value from the keyboard, i want to make it like a combobox so that it show a list of values and user has to select from it. Please help me