当前位置: 首页>>代码示例>>C#>>正文


C# Input.ManipulationStartedEventArgs类代码示例

本文整理汇总了C#中System.Windows.Input.ManipulationStartedEventArgs的典型用法代码示例。如果您正苦于以下问题:C# ManipulationStartedEventArgs类的具体用法?C# ManipulationStartedEventArgs怎么用?C# ManipulationStartedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ManipulationStartedEventArgs类属于System.Windows.Input命名空间,在下文中一共展示了ManipulationStartedEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OnManipulationStarted

        protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
        {
            txtblk.Foreground = originalBrush;

            args.Complete();
            base.OnManipulationStarted(args);
        }
开发者ID:uhealin,项目名称:asskicker,代码行数:7,代码来源:MainPage.xaml.cs

示例2: OnT6ManipulationStarted

        void OnT6ManipulationStarted(object sender, ManipulationStartedEventArgs args)
        {
            this.NavigationService.Navigate(new Uri("/T6.xaml", UriKind.Relative));

            args.Complete();
            args.Handled = true;
        }
开发者ID:aameijide,项目名称:wp7-Tramcelona,代码行数:7,代码来源:MainPage.xaml.cs

示例3: CalendarButton_ManipulationStarted

        private void CalendarButton_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
            SolidColorBrush brush = new SolidColorBrush();
            brush.Color = (Color) App.Current.Resources["CalendarBackDarkGray"];

            CalendarButton.Background = brush;
        }
开发者ID:richardaum,项目名称:Metroist-for-Windows-Phone,代码行数:7,代码来源:AddTask.xaml.cs

示例4: gotoEditProfile

		void gotoEditProfile(object sender, ManipulationStartedEventArgs		args)
		{
		this.NavigationService.Navigate(new Uri("/EditProfile.xaml",
		UriKind.Relative));
		args.Complete();
		args.Handled = true;
		}
开发者ID:BarkaBoss,项目名称:MedicNaijaWP7,代码行数:7,代码来源:Profile.xaml.cs

示例5: ExecuteCommand

        private void ExecuteCommand(object sender, ManipulationStartedEventArgs e)
        {
            ICommand cmd = (ICommand)((Image)sender).Tag;

            if (cmd != null)
                cmd.Execute(null);
        }
开发者ID:ttu,项目名称:Match-Rate,代码行数:7,代码来源:FightControl.xaml.cs

示例6: logout

		void logout(object sender, ManipulationStartedEventArgs		args)
		{
		this.NavigationService.Navigate(new Uri("/HealthTips.xaml",
		UriKind.Relative));
		args.Complete();
		args.Handled = true;
		}
开发者ID:BarkaBoss,项目名称:MedicNaijaWP7,代码行数:7,代码来源:DashBoard.xaml.cs

示例7: OnTextBlockManipulationStarted

        void OnTextBlockManipulationStarted(object sender, ManipulationStartedEventArgs args)
        {
            this.NavigationService.GoBack();

            args.Complete();
            args.Handled = true;
        }
开发者ID:uhealin,项目名称:asskicker,代码行数:7,代码来源:SecondPage.xaml.cs

示例8: OnManipulationStarted

        protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
        {
            GetRandomPicture();

            args.Complete();
            base.OnManipulationStarted(args);
        }
开发者ID:uhealin,项目名称:asskicker,代码行数:7,代码来源:MainPage.xaml.cs

示例9: OnManipulationStarted

        protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
        {
            camera.Show();

            args.Complete();
            args.Handled = true;
            base.OnManipulationStarted(args);
        }
开发者ID:uhealin,项目名称:asskicker,代码行数:8,代码来源:MainPage.xaml.cs

示例10: OnManipulationStarted

 protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
 {
     if (!DemoAutoSlide)
     {
         PumpDemoFrames(null, null);
     }
     base.OnManipulationStarted(args);
 }
开发者ID:kfirt,项目名称:BlindPhone,代码行数:8,代码来源:MainPage.xaml.cs

示例11: 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;
		}
开发者ID:BarkaBoss,项目名称:MedicNaijaWP7,代码行数:8,代码来源:DashBoard.xaml.cs

示例12: 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");
		}
开发者ID:BarkaBoss,项目名称:MedicNaijaWP7,代码行数:8,代码来源:DashBoard.xaml.cs

示例13: 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);
 }
开发者ID:lintghi,项目名称:puzzle,代码行数:9,代码来源:TilePage.xaml.cs

示例14: 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);
        }
开发者ID:MarioBinder,项目名称:7Pass,代码行数:9,代码来源:Password.xaml.cs

示例15: OnManipulationStarted

        protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
        {
            ContentPanel.Background = new SolidColorBrush(
                Color.FromArgb(255, (byte)rand.Next(255),
                                    (byte)rand.Next(255),
                                    (byte)rand.Next(255)));

            base.OnManipulationStarted(args);
        }
开发者ID:uhealin,项目名称:asskicker,代码行数:9,代码来源:SecondPage.xaml.cs


注:本文中的System.Windows.Input.ManipulationStartedEventArgs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。