I need Button.click from another class but doesn't work pickButton.PerformClick()?
[Category("Özel")]
[DefaultValue(null)]
public Button pickButton { get; set; }
protected override void OnKeyUp(KeyEventArgs e)
{
base.OnKeyUp(e);
if (e.Key == Key.F10)
{
if (pickButton != null)
{
//pickButton.PerformClick() ??
}
}
}