logging in or signing up wpf7 Chloe Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 215 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: December 01, 2007 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Slide1: Бобков Александр Тропин КириллПлан лекции: План лекцииСредство разработки: Средство разработкиПреимущества WPF: Преимущества WPFXAML: XAMLXAML: XAMLXAML: XAML <Window x:Class="Example1.Window1” xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Example 1" Height="200" Width="300"> наш код </Window>XAML: XAML <Grid> <Button Height="23" HorizontalAlignment="Left" Margin="94,96,0,0" Name="button1" VerticalAlignment="Top" Width="75"> Нажми меня! </Button> </Grid>Slide9: Создание проекта в Visual Studio Добавление простейших элементов управленияГруппировка элементов: Группировка элементовAttached Properties: Attached PropertiesAttached Properties: Attached Properties <Canvas> <Button Canvas.Left="80" Canvas.Top="70" Height="20" Name="button1" Width="100"> Нажми меня! </Button> </Canvas>Slide13: Группировка элементовRoutedEvents: RoutedEventsМаршрутные стратегии: Маршрутные стратегииСхема маршрута: Схема маршрутаПример использования: Пример использования <Border Height="50" Width="300" BorderBrush="Gray“> <StackPanel Button.Click="CommonClickHandler"> <Button Name="YesButton“>Yes</Button> <Button Name="NoButton“ >No</Button> <Button Name="CancelButton“ >Cancel</Button> </StackPanel> </Border>Обработчик события: Обработчик события void CommonClickHandler(object sender, RoutedEventArgs args) { //logic to handle the Click event }Параметры: ПараметрыSlide21: RoutedEventsАнимация: АнимацияУсловия анимирования: Условия анимированияВиды анимаций: Виды анимацийПараметры анимации: Параметры анимацииDoubleAnimation: DoubleAnimation <DoubleAnimation From="1.0" To="0.0" Duration="0:0:5" AutoReverse="True" RepeatBehavior="Forever"/>DoubleAnimationUsingKeyFrames: DoubleAnimationUsingKeyFrames <DoubleAnimationUsingKeyFrames Duration="0:0:10"> <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0" /> <LinearDoubleKeyFrame Value="350" KeyTime="0:0:2" /> <LinearDoubleKeyFrame Value="50" KeyTime="0:0:7" /> <LinearDoubleKeyFrame Value="200" KeyTime="0:0:8" /> </DoubleAnimationUsingKeyFrames>Управление анимацией: Управление анимацией <Storyboard> <DoubleAnimation Storyboard.TargetName="MyRectangle" Storyboard.TargetProperty="Opacity" From="1.0" To="0.0" Duration="0:0:5" AutoReverse="True" RepeatBehavior="Forever" /> </Storyboard>Управление анимацией: Управление анимацией <EventTrigger RoutedEvent="Rectangle.Loaded"> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="MyRectangle" Storyboard.TargetProperty="Opacity" From="1.0" To="0.0" Duration="0:0:5" AutoReverse="True" RepeatBehavior="Forever" /> </Storyboard> </BeginStoryboard> </EventTrigger>Управление сценариями: Управление сценариямиSlide32: АнимацияSlide33: Битмап эффекты You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
wpf7 Chloe Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 215 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: December 01, 2007 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Slide1: Бобков Александр Тропин КириллПлан лекции: План лекцииСредство разработки: Средство разработкиПреимущества WPF: Преимущества WPFXAML: XAMLXAML: XAMLXAML: XAML <Window x:Class="Example1.Window1” xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Example 1" Height="200" Width="300"> наш код </Window>XAML: XAML <Grid> <Button Height="23" HorizontalAlignment="Left" Margin="94,96,0,0" Name="button1" VerticalAlignment="Top" Width="75"> Нажми меня! </Button> </Grid>Slide9: Создание проекта в Visual Studio Добавление простейших элементов управленияГруппировка элементов: Группировка элементовAttached Properties: Attached PropertiesAttached Properties: Attached Properties <Canvas> <Button Canvas.Left="80" Canvas.Top="70" Height="20" Name="button1" Width="100"> Нажми меня! </Button> </Canvas>Slide13: Группировка элементовRoutedEvents: RoutedEventsМаршрутные стратегии: Маршрутные стратегииСхема маршрута: Схема маршрутаПример использования: Пример использования <Border Height="50" Width="300" BorderBrush="Gray“> <StackPanel Button.Click="CommonClickHandler"> <Button Name="YesButton“>Yes</Button> <Button Name="NoButton“ >No</Button> <Button Name="CancelButton“ >Cancel</Button> </StackPanel> </Border>Обработчик события: Обработчик события void CommonClickHandler(object sender, RoutedEventArgs args) { //logic to handle the Click event }Параметры: ПараметрыSlide21: RoutedEventsАнимация: АнимацияУсловия анимирования: Условия анимированияВиды анимаций: Виды анимацийПараметры анимации: Параметры анимацииDoubleAnimation: DoubleAnimation <DoubleAnimation From="1.0" To="0.0" Duration="0:0:5" AutoReverse="True" RepeatBehavior="Forever"/>DoubleAnimationUsingKeyFrames: DoubleAnimationUsingKeyFrames <DoubleAnimationUsingKeyFrames Duration="0:0:10"> <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0" /> <LinearDoubleKeyFrame Value="350" KeyTime="0:0:2" /> <LinearDoubleKeyFrame Value="50" KeyTime="0:0:7" /> <LinearDoubleKeyFrame Value="200" KeyTime="0:0:8" /> </DoubleAnimationUsingKeyFrames>Управление анимацией: Управление анимацией <Storyboard> <DoubleAnimation Storyboard.TargetName="MyRectangle" Storyboard.TargetProperty="Opacity" From="1.0" To="0.0" Duration="0:0:5" AutoReverse="True" RepeatBehavior="Forever" /> </Storyboard>Управление анимацией: Управление анимацией <EventTrigger RoutedEvent="Rectangle.Loaded"> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="MyRectangle" Storyboard.TargetProperty="Opacity" From="1.0" To="0.0" Duration="0:0:5" AutoReverse="True" RepeatBehavior="Forever" /> </Storyboard> </BeginStoryboard> </EventTrigger>Управление сценариями: Управление сценариямиSlide32: АнимацияSlide33: Битмап эффекты