• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Animation.BeginStoryboard类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: HandleLoaded

        private void HandleLoaded(object sender, RoutedEventArgs e)
        {
            // WHAT THE FUCK, JESUS!!

            var style = (Style)TryFindResource("AppItemsPanel");
            var sb = (Storyboard)TryFindResource("Open");
            sb = sb.Clone();
            ((DoubleAnimation)sb.Children[0]).From = AppItemsGroups.ActualHeight*-1;
            sb.Freeze();
            style.Triggers[0].EnterActions.Clear();
            var beginStoryboard = new BeginStoryboard { Storyboard = sb };
            style.Triggers[0].EnterActions.Add(beginStoryboard);

            sb = (Storyboard)TryFindResource("Close");
            sb = sb.Clone();
            ((DoubleAnimation)sb.Children[0]).To = AppItemsGroups.ActualHeight * -1;
            sb.Freeze();

            style.Triggers[0].ExitActions.Clear();
            style.Triggers[0].ExitActions.Add(new BeginStoryboard { Storyboard = sb });
        }
开发者ID:flq,项目名称:Thawmadoce,代码行数:21,代码来源:AppItemsView.xaml.cs


示例2: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Restaurant.ProductWindow)(target));
     
     #line 13 "..\..\ProductWindow.xaml"
     this.Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.StoryboardUnitFadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.StoryboardGroupFadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.StoryboardProductFadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.StoryboardProductTreeFadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 6:
     
     #line 127 "..\..\ProductWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 7:
     this.TabButtonUnit = ((System.Windows.Controls.Button)(target));
     
     #line 131 "..\..\ProductWindow.xaml"
     this.TabButtonUnit.Click += new System.Windows.RoutedEventHandler(this.TabButtonUnit_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.TabButtonGroup = ((System.Windows.Controls.Button)(target));
     
     #line 132 "..\..\ProductWindow.xaml"
     this.TabButtonGroup.Click += new System.Windows.RoutedEventHandler(this.TabButtonGroup_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.TabButtonProduct = ((System.Windows.Controls.Button)(target));
     
     #line 133 "..\..\ProductWindow.xaml"
     this.TabButtonProduct.Click += new System.Windows.RoutedEventHandler(this.TabButtonProduct_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.TabButtonProductTree = ((System.Windows.Controls.Button)(target));
     
     #line 134 "..\..\ProductWindow.xaml"
     this.TabButtonProductTree.Click += new System.Windows.RoutedEventHandler(this.TabButtonProductTree_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.UnitsPane = ((Restaurant.UnitsUserControl)(target));
     return;
     case 12:
     this.GroupsPane = ((Restaurant.GroupsUserControl)(target));
     return;
     case 13:
     this.ProductsPane = ((Restaurant.ProductsUserControl)(target));
     return;
     case 14:
     this.ProductsTreePane = ((Restaurant.ProductTreeUserControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:cveggalam,项目名称:Restaurant,代码行数:83,代码来源:ProductWindow.g.cs


示例3: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\MainWindow.xaml"
     ((Restaurant.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ExpandingStoryboard_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.ContractingStoryboard_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.HeaderBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 5:
     this.Header = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 6:
     this.yellowcircle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 7:
     this.RestaurantLogo = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 8:
     this.DanLogo = ((System.Windows.Controls.StackPanel)(target));
     
     #line 159 "..\..\MainWindow.xaml"
     this.DanLogo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Dan_Clicked);
     
     #line default
     #line hidden
     return;
     case 9:
     this.image = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.MenuBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 11:
     this.ManagementMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 12:
     this.UsersMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 191 "..\..\MainWindow.xaml"
     this.UsersMenuItem.Click += new System.Windows.RoutedEventHandler(this.UsersMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.UnitsMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 192 "..\..\MainWindow.xaml"
     this.UnitsMenuItem.Click += new System.Windows.RoutedEventHandler(this.ProductsMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.GroupsMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 193 "..\..\MainWindow.xaml"
     this.GroupsMenuItem.Click += new System.Windows.RoutedEventHandler(this.ProductsMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.ProductsMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 194 "..\..\MainWindow.xaml"
     this.ProductsMenuItem.Click += new System.Windows.RoutedEventHandler(this.ProductsMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.TablesMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 195 "..\..\MainWindow.xaml"
     this.TablesMenuItem.Click += new System.Windows.RoutedEventHandler(this.TablesMenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.OrderMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 18:
     this.NewOrderMenuItem = ((System.Windows.Controls.MenuItem)(target));
     
     #line 198 "..\..\MainWindow.xaml"
     this.NewOrderMenuItem.Click += new System.Windows.RoutedEventHandler(this.NewOrderMenuItem_Click);
//.........这里部分代码省略.........
开发者ID:cveggalam,项目名称:Restaurant,代码行数:101,代码来源:MainWindow.g.cs


示例4: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MouseEnter1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 2:
     this.Minimizemouseneter_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.Minimiazmoseleave_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.Mouseleave1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.Minimizemouseneter_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 6:
     this.Minimiazmoseleave_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 7:
     this.bs2 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 8:
     this.Фигура_1 = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.Слой_1__копия_ = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.Фигура_2 = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.Фигура_3 = ((System.Windows.Controls.Image)(target));
     return;
     case 12:
     this.BookStore = ((System.Windows.Controls.Image)(target));
     return;
     case 13:
     this.Слой_3 = ((System.Windows.Controls.Image)(target));
     return;
     case 14:
     this.Группа_1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 15:
     this.Фигура_4 = ((System.Windows.Controls.Image)(target));
     return;
     case 16:
     this.close = ((System.Windows.Controls.Image)(target));
     
     #line 86 "..\..\MainWindow.xaml"
     this.close.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Closew);
     
     #line default
     #line hidden
     return;
     case 17:
     this.combo1 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 18:
     this.datagrid1 = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 19:
     this.user = ((System.Windows.Controls.Button)(target));
     
     #line 210 "..\..\MainWindow.xaml"
     this.user.Click += new System.Windows.RoutedEventHandler(this.Button_ClientLogin);
     
     #line default
     #line hidden
     return;
     case 20:
     this.expeditor = ((System.Windows.Controls.Button)(target));
     
     #line 212 "..\..\MainWindow.xaml"
     this.expeditor.Click += new System.Windows.RoutedEventHandler(this.expeditor_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.img_openbook = ((System.Windows.Controls.Image)(target));
     return;
     case 22:
     this.admin = ((System.Windows.Controls.Button)(target));
     
     #line 219 "..\..\MainWindow.xaml"
     this.admin.Click += new System.Windows.RoutedEventHandler(this.admin_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.label_c = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.back = ((System.Windows.Controls.Button)(target));
     
     #line 221 "..\..\MainWindow.xaml"
//.........这里部分代码省略.........
开发者ID:vasia-ostapchuk,项目名称:transport-platform,代码行数:101,代码来源:MainWindow.g.i.cs


示例5: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((TestUserControl.ucTime)(target));
     return;
     case 2:
     this.OnMouseEnter3_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.ellipse1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 4:
     this.ellipse = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 5:
     this.buttonPrev = ((System.Windows.Controls.Button)(target));
     
     #line 118 "..\..\Copy of ucTime.xaml"
     this.buttonPrev.Click += new System.Windows.RoutedEventHandler(this.ButtonPrevClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.buttonPlay = ((System.Windows.Controls.Button)(target));
     
     #line 131 "..\..\Copy of ucTime.xaml"
     this.buttonPlay.Click += new System.Windows.RoutedEventHandler(this.ButtonPlayClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.buttonStop = ((System.Windows.Controls.Button)(target));
     
     #line 144 "..\..\Copy of ucTime.xaml"
     this.buttonStop.Click += new System.Windows.RoutedEventHandler(this.ButtonStopClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.buttonNext = ((System.Windows.Controls.Button)(target));
     
     #line 157 "..\..\Copy of ucTime.xaml"
     this.buttonNext.Click += new System.Windows.RoutedEventHandler(this.ButtonNextClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.SoundSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 10:
     this.ShuffleButton = ((System.Windows.Controls.Button)(target));
     
     #line 185 "..\..\Copy of ucTime.xaml"
     this.ShuffleButton.Click += new System.Windows.RoutedEventHandler(this.ButtonShuffleClick);
     
     #line default
     #line hidden
     return;
     case 11:
     this.RepeatButton = ((System.Windows.Controls.Button)(target));
     
     #line 198 "..\..\Copy of ucTime.xaml"
     this.RepeatButton.Click += new System.Windows.RoutedEventHandler(this.ButtonRepeatClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:munozv,项目名称:MediaPlayer,代码行数:75,代码来源:Copy+of+ucTime.g.i.cs


示例6: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.userControl = ((wpf_sucks_and_is_stupid.DoctorPanel)(target));
     return;
     case 2:
     this.OnMouseEnter1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.OnMouseLeave1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.OnMouseEnter2_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.OnMouseLeave2_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 6:
     this.OnMouseEnter3_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 7:
     this.OnMouseLeave3_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 8:
     this.OnMouseEnter4_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 9:
     this.OnMouseLeave4_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 10:
     this.OnMouseEnter5_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 11:
     this.OnMouseLeave5_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 12:
     this.OnMouseEnter6_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 13:
     this.OnMouseLeave6_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 14:
     this.OnMouseEnter7_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 15:
     this.OnMouseLeave7_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 16:
     this.OnMouseLeave7_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 17:
     this.OnMouseEnter8_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 18:
     this.OnMouseLeave9_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 19:
     this.OnMouseEnter9_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 20:
     this.OnMouseEnter10_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 21:
     this.OnMouseEnter11_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 22:
     this.OnMouseLeave11_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 23:
     this.listBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 24:
     this.listBoxItem = ((System.Windows.Controls.ListBoxItem)(target));
     
     #line 217 "..\..\DoctorPanel.xaml"
     this.listBoxItem.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBoxItem_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 25:
     this.listBoxItem1 = ((System.Windows.Controls.ListBoxItem)(target));
     
     #line 218 "..\..\DoctorPanel.xaml"
     this.listBoxItem1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBoxItem_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 26:
     this.listBoxItem2 = ((System.Windows.Controls.ListBoxItem)(target));
     
     #line 219 "..\..\DoctorPanel.xaml"
     this.listBoxItem2.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBoxItem_MouseDoubleClick_1);
     
     #line default
     #line hidden
     return;
     case 27:
//.........这里部分代码省略.........
开发者ID:eionschreiber,项目名称:medicalSystem,代码行数:101,代码来源:DoctorPanel.g.i.cs


示例7: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.NotificationWindow = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.border = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.CloseButton = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.FadeInStoryBoard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:prerna-iitbhu,项目名称:notificationtool,代码行数:18,代码来源:MainWindow.g.i.cs


示例8: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\BallonJ.xaml"
     ((TimeToBreak.BallonJ)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControlLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 9 "..\..\..\BallonJ.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.OnFadeOutCompleted);
     
     #line default
     #line hidden
     return;
     case 3:
     this.FadeOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 6:
     this.border1 = ((System.Windows.Controls.Border)(target));
     return;
     case 7:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     
     #line 47 "..\..\..\BallonJ.xaml"
     this.textBlock1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.TextBlock1MouseEnter);
     
     #line default
     #line hidden
     
     #line 47 "..\..\..\BallonJ.xaml"
     this.textBlock1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.TextBlock1MouseLeave);
     
     #line default
     #line hidden
     
     #line 47 "..\..\..\BallonJ.xaml"
     this.textBlock1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock1MouseDown);
     
     #line default
     #line hidden
     return;
     case 8:
     this.image1 = ((System.Windows.Controls.Image)(target));
     
     #line 49 "..\..\..\BallonJ.xaml"
     this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnCloseClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:juank334,项目名称:TimeToBreak,代码行数:79,代码来源:BallonJ.g.i.cs


示例9: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 13 "..\..\SelectionDisplay.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.OnLoadedStoryboardCompleted);
     
     #line default
     #line hidden
     return;
     case 2:
     this.OnLoadedStoryboard_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.layoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.messageTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:Thoughtseize,项目名称:KinectMediaPlayer,代码行数:26,代码来源:SelectionDisplay.g.i.cs


示例10: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.me = ((Samples.WelcomeBalloon)(target));
     return;
     case 2:
     this.FadeInAndOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.border = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:juank334,项目名称:TimeToBreak,代码行数:18,代码来源:WelcomeBalloon.g.cs


示例11: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 66 "..\..\..\Showcase\UserNotification.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.OnFadeOutCompleted);
     
     #line default
     #line hidden
     return;
     case 2:
     this.FadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.HighlightCloseButton_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.FadeCloseButton_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.FadeBack_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 6:
     this.FadeOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 7:
     this.grid = ((System.Windows.Controls.Grid)(target));
     
     #line 106 "..\..\..\Showcase\UserNotification.xaml"
     this.grid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.grid_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 8:
     this.MainText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.HeaderBalloon = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.imgClose = ((System.Windows.Controls.Image)(target));
     
     #line 167 "..\..\..\Showcase\UserNotification.xaml"
     this.imgClose.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.imgClose_MouseDown);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnShowTicket = ((System.Windows.Controls.Button)(target));
     
     #line 185 "..\..\..\Showcase\UserNotification.xaml"
     this.btnShowTicket.Click += new System.Windows.RoutedEventHandler(this.btnShowTicket_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:HiznyakNikita,项目名称:TicketReminder,代码行数:62,代码来源:UserNotification.g.cs


示例12: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((Media_player_skin_V2._0.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((Media_player_skin_V2._0.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.EMenu_close_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.ECMenu_close_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.EMenu_open_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.ECMenu_close_BeginStoryboard2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 6:
     this.ECMenu_open_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 7:
     this.ECMenu_close_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 8:
     this.ESound_disable_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 9:
     this.ESound_enable_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 10:
     this.ELoop_enable_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 11:
     this.ELoop_disable_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 12:
     this.ECMenu_close_BeginStoryboard3 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 13:
     this.Global_grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.Playlist_menu_toolbar = ((System.Windows.Controls.Grid)(target));
     return;
     case 15:
     this.Menu_library = ((System.Windows.Controls.TreeView)(target));
     return;
     case 16:
     this.PictureTree = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 127 "..\..\..\MainWindow.xaml"
     this.PictureTree.Selected += new System.Windows.RoutedEventHandler(this.PictureTree_Selected);
     
     #line default
     #line hidden
     return;
     case 17:
     this.VideoTree = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 128 "..\..\..\MainWindow.xaml"
     this.VideoTree.Selected += new System.Windows.RoutedEventHandler(this.VideoTree_Selected);
     
     #line default
     #line hidden
     return;
     case 18:
     this.MusicTree = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 129 "..\..\..\MainWindow.xaml"
     this.MusicTree.Selected += new System.Windows.RoutedEventHandler(this.MusicTree_Selected);
     
     #line default
     #line hidden
     return;
     case 19:
     this.ArtistTree = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 130 "..\..\..\MainWindow.xaml"
     this.ArtistTree.Selected += new System.Windows.RoutedEventHandler(this.ArtistTree_Selected);
     
     #line default
     #line hidden
     return;
     case 20:
     this.AlbumTree = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 131 "..\..\..\MainWindow.xaml"
     this.AlbumTree.Selected += new System.Windows.RoutedEventHandler(this.AlbumTree_Selected);
//.........这里部分代码省略.........
开发者ID:gitoux,项目名称:Epi-Media-player,代码行数:101,代码来源:MainWindow.g.cs


示例13: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\StartWindow.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.Storyboard_Completed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.StoryboardMain_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.RestaurantLogo = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 4:
     this.textBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.ellipse_Copy = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 6:
     this.ellipse_Copy1 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 7:
     this.ellipse_Copy2 = ((System.Windows.Shapes.Ellipse)(target));
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:cveggalam,项目名称:Restaurant,代码行数:32,代码来源:StartWindow.g.cs


示例14: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
         switch (connectionId)
         {
         case 1:
     this.UserControl = ((ArrowButton)(target));
     return;
         case 2:
     this.Storyboard1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
         case 3:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
         case 4:
     this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
     return;
         case 5:
     this.regularPolygon = ((Microsoft.Expression.Shapes.RegularPolygon)(target));
     return;
         case 6:
     this.rectangle4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
         case 7:
     this.rectangle3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
         case 8:
     this.rectangle2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
         case 9:
     this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
         case 10:
     this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
     return;
         case 11:
     this.button = ((System.Windows.Controls.Button)(target));
     return;
         }
     this._contentLoaded = true;
 }
开发者ID:JPCoded,项目名称:LED-Controller-WPF,代码行数:39,代码来源:ArrowButton.g.i.cs


示例15: CloseAnimation

 private EventTrigger CloseAnimation(RoutedEvent RE)
 {
     EventTrigger eventTrigger = new EventTrigger(RE);
     BeginStoryboard beginStoryBoard = new BeginStoryboard();
     Storyboard storyBoard = new Storyboard();
     DoubleAnimation doubleAnimation = new DoubleAnimation();
     doubleAnimation.From = panelHeight;
     doubleAnimation.To = 0;
     doubleAnimation.Duration = new Duration(new TimeSpan(5000000));
     Storyboard.SetTargetName(doubleAnimation, "spPanel");
     Storyboard.SetTargetProperty(doubleAnimation, new PropertyPath("(StackPanel.Height)"));
     storyBoard.Children.Add(doubleAnimation);
     beginStoryBoard.Storyboard = storyBoard;
     eventTrigger.Actions.Add(beginStoryBoard);
     return eventTrigger;
 }
开发者ID:sreenandini,项目名称:test_buildscripts,代码行数:16,代码来源:CGridView.xaml.cs


示例16: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.progress = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 2:
     this.Mediapalyer = ((System.Windows.Controls.MediaElement)(target));
     
     #line 19 "..\..\..\pipeMsg\VideoControl.xaml"
     this.Mediapalyer.MediaOpened += new System.Windows.RoutedEventHandler(this.Mediapalyer_MediaOpened);
     
     #line default
     #line hidden
     
     #line 19 "..\..\..\pipeMsg\VideoControl.xaml"
     this.Mediapalyer.MediaEnded += new System.Windows.RoutedEventHandler(this.Mediapalyer_MediaEnded);
     
     #line default
     #line hidden
     return;
     case 3:
     this.timeslider = ((System.Windows.Controls.Slider)(target));
     
     #line 25 "..\..\..\pipeMsg\VideoControl.xaml"
     this.timeslider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.timeslider_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Player = ((System.Windows.Controls.Button)(target));
     
     #line 27 "..\..\..\pipeMsg\VideoControl.xaml"
     this.Player.Click += new System.Windows.RoutedEventHandler(this.Player_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Stop = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\..\pipeMsg\VideoControl.xaml"
     this.Stop.Click += new System.Windows.RoutedEventHandler(this.Stop_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.myBegin = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 7:
     this.storyboard = ((System.Windows.Media.Animation.Storyboard)(target));
     return;
     case 8:
     this.timeline = ((System.Windows.Media.MediaTimeline)(target));
     
     #line 37 "..\..\..\pipeMsg\VideoControl.xaml"
     this.timeline.CurrentTimeInvalidated += new System.EventHandler(this.timeline_CurrentTimeInvalidated);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:chijianfeng,项目名称:PNManager,代码行数:66,代码来源:VideoControl.g.cs


示例17: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ProgressAnimation_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.block = ((LoadingControl.Control.Block)(target));
     return;
     case 4:
     this.block1 = ((LoadingControl.Control.Block)(target));
     return;
     case 5:
     this.block2 = ((LoadingControl.Control.Block)(target));
     return;
     case 6:
     this.block3 = ((LoadingControl.Control.Block)(target));
     return;
     case 7:
     this.block4 = ((LoadingControl.Control.Block)(target));
     return;
     case 8:
     this.block5 = ((LoadingControl.Control.Block)(target));
     return;
     case 9:
     this.block6 = ((LoadingControl.Control.Block)(target));
     return;
     case 10:
     this.block7 = ((LoadingControl.Control.Block)(target));
     return;
     case 11:
     this.block8 = ((LoadingControl.Control.Block)(target));
     return;
     case 12:
     this.block9 = ((LoadingControl.Control.Block)(target));
     return;
     case 13:
     this.block10 = ((LoadingControl.Control.Block)(target));
     return;
     case 14:
     this.block11 = ((LoadingControl.Control.Block)(target));
     return;
     case 15:
     this.block12 = ((LoadingControl.Control.Block)(target));
     return;
     case 16:
     this.block13 = ((LoadingControl.Control.Block)(target));
     return;
     case 17:
     this.block14 = ((LoadingControl.Control.Block)(target));
     return;
     case 18:
     this.block15 = ((LoadingControl.Control.Block)(target));
     return;
     case 19:
     this.block16 = ((LoadingControl.Control.Block)(target));
     return;
     case 20:
     this.block17 = ((LoadingControl.Control.Block)(target));
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:DmytroKarpa,项目名称:Projects,代码行数:66,代码来源:LoadingAnimation.g.i.cs


示例18: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.me = ((window_demo.FancyBalloon)(target));
     return;
     case 2:
     
     #line 36 "..\..\FancyBalloon.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.OnFadeOutCompleted);
     
     #line default
     #line hidden
     return;
     case 3:
     this.FadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.HighlightCloseButton_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.FadeCloseButton_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 6:
     this.FadeBack_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 7:
     this.FadeOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 8:
     this.grid = ((System.Windows.Controls.Grid)(target));
     
     #line 61 "..\..\FancyBalloon.xaml"
     this.grid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.grid_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 9:
     this.imgClose = ((System.Windows.Controls.Image)(target));
     
     #line 115 "..\..\FancyBalloon.xaml"
     this.imgClose.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.imgClose_MouseDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:sumeetjauhar,项目名称:YQ,代码行数:50,代码来源:FancyBalloon.g.i.cs


示例19: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((WpfApplication1.hinhvuong)(target));
     return;
     case 2:
     this.Loaded_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.image = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.image2 = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.image3 = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
开发者ID:TND195,项目名称:Gomoku,代码行数:27,代码来源:hinhvuong.g.i.cs


示例20: switch


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Animation.ColorAnimation类代码示例发布时间:2022-05-26
下一篇:
C# Animation.AnimationClock类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap