本文整理汇总了C#中System.Windows.Input.ManipulationStartedEventArgs.Complete方法的典型用法代码示例。如果您正苦于以下问题:C# ManipulationStartedEventArgs.Complete方法的具体用法?C# ManipulationStartedEventArgs.Complete怎么用?C# ManipulationStartedEventArgs.Complete使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Input.ManipulationStartedEventArgs
的用法示例。
在下文中一共展示了ManipulationStartedEventArgs.Complete方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
txtblk.Foreground = originalBrush;
args.Complete();
base.OnManipulationStarted(args);
}
示例2: gotoEditProfile
void gotoEditProfile(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/EditProfile.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
}
示例3: OnT6ManipulationStarted
void OnT6ManipulationStarted(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/T6.xaml", UriKind.Relative));
args.Complete();
args.Handled = true;
}
示例4: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
GetRandomPicture();
args.Complete();
base.OnManipulationStarted(args);
}
示例5: OnTextBlockManipulationStarted
void OnTextBlockManipulationStarted(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.GoBack();
args.Complete();
args.Handled = true;
}
示例6: logout
void logout(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/HealthTips.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
}
示例7: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
camera.Show();
args.Complete();
args.Handled = true;
base.OnManipulationStarted(args);
}
示例8: logout
void logout(object sender, ManipulationStartedEventArgs args)
{
MessageBox.Show("Stay frosty");
this.NavigationService.Navigate(new Uri("/MainPage.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
}
示例9: viewProfile
void viewProfile(object sender, ManipulationStartedEventArgs args)
{
this.NavigationService.Navigate(new Uri("/Profile.xaml",
UriKind.Relative));
args.Complete();
args.Handled = true;
MessageBox.Show("this ill wrk");
}
示例10: imgWarning_ManipulationStarted
private void imgWarning_ManipulationStarted(
object sender, ManipulationStartedEventArgs e)
{
e.Complete();
e.Handled = true;
MessageBox.Show(Properties.Resources.WarningStorePassword,
(string)chkStore.Content, MessageBoxButton.OK);
}
示例11: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs e) {
if (e.OriginalSource is Image && isGameing) {
Image img = e.OriginalSource as Image;
this.MoveTileAndCheckGameOver(img);
e.Complete();
e.Handled = true;
}
base.OnManipulationStarted(e);
}
示例12: OnTextBlockManipulationStarted
void OnTextBlockManipulationStarted(object sender,
ManipulationStartedEventArgs args)
{
txtblk.Foreground = new SolidColorBrush(
Color.FromArgb(255, (byte)rand.Next(256),
(byte)rand.Next(256),
(byte)rand.Next(256)));
args.Complete();
args.Handled = true;
}
示例13: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
Uri uri = new Uri("http://www.charlespetzold.com/Media/HelloWP7.jpg");
BitmapImage bmp = new BitmapImage(uri);
img.Source = bmp;
args.Complete();
args.Handled = true;
base.OnManipulationStarted(args);
}
示例14: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
WebClient webClient = new WebClient();
webClient.OpenReadCompleted += OnWebClientOpenReadCompleted;
webClient.OpenReadAsync(new Uri("http://www.charlespetzold.com/Media/HelloWP7.jpg"));
args.Complete();
args.Handled = true;
base.OnManipulationStarted(args);
}
示例15: OnManipulationStarted
protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
{
ContentPanel.Background =
new SolidColorBrush(Color.FromArgb(255, (byte)rand.Next(256),
(byte)rand.Next(256),
(byte)rand.Next(256)));
UpdatePageTitle(++numTaps);
args.Complete();
base.OnManipulationStarted(args);
}