我有以下代码,但它只在第一次举行时发生,而不是在发生后发生。
正确的事情很简单,但它似乎无法找到答案。
private void Contact_Tap_1_Holding(object sender, RightTappedRoutedEventArgs e)
{
contactSelected = 1;
this.Frame.Navigate(typeof(ContactAddPopUp));
}
<Button x:Name="Contact_1" HorizontalAlignment="Stretch" Margin="40,464,51,0"
RightTapped="Contact_Tap_1_Holding" VerticalAlignment="Top" Height="72"
Background="#ff4081" FontSize="11" FontWeight="Bold" Foreground="#FFFFFF"
Click="button_Click" Content="Contact 1" />
谢谢!