private void MouseButtonDownHandler(object sender, MouseButtonEventArgs e) { if (e.ClickCount == 2) { LabelDoubleClickArgs eventArgs = new LabelDoubleClickArgs(); eventArgs.Page = TaskPage; DoubleClick?.Invoke(sender, eventArgs); } }
public void LabelDoubleClick(object sender, LabelDoubleClickArgs e) { ChangePage(e.Page); }