Hi
i am using a label instead of a button control and now i want to use from DialogResult in my class...
how can i use from new DialogResult in my project to work correct???
-----
Sorry for bad english
Thanks
i am using a label instead of a button control and now i want to use from DialogResult in my class...
Code:
public class GA5_Button : System.Windows.Forms.Label
{
[Browsable(true),
DefaultValue(typeof(System.Windows.Forms.DialogResult))]
public System.Windows.Forms.DialogResult DialogResult
{
get;
set;
}
}
-----
Sorry for bad english
Thanks
Comment