Start commit. All functional. Bugs with gif.
This commit is contained in:
Mootfrost777 2021-12-21 20:01:02 +03:00
parent 7132bdfd15
commit cc968f4440
52 changed files with 2037 additions and 0 deletions

25
WpfApp13.sln Normal file
View file

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30517.126
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApp13", "WpfApp13\WpfApp13.csproj", "{037BE5FE-6185-4A09-B328-41A5CA430710}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{037BE5FE-6185-4A09-B328-41A5CA430710}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{037BE5FE-6185-4A09-B328-41A5CA430710}.Debug|Any CPU.Build.0 = Debug|Any CPU
{037BE5FE-6185-4A09-B328-41A5CA430710}.Release|Any CPU.ActiveCfg = Release|Any CPU
{037BE5FE-6185-4A09-B328-41A5CA430710}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C4E96AB0-5DCB-4CA0-98DB-F8AE2A42BD5F}
EndGlobalSection
EndGlobal

6
WpfApp13/App.config Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>

9
WpfApp13/App.xaml Normal file
View file

@ -0,0 +1,9 @@
<Application x:Class="WpfApp13.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:WpfApp13"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>

17
WpfApp13/App.xaml.cs Normal file
View file

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace WpfApp13
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}

19
WpfApp13/MainWindow.xaml Normal file
View file

@ -0,0 +1,19 @@
<Window x:Class="WpfApp13.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="FortuneBall" Height="350" Width="300">
<Grid >
<StackPanel>
<Label Height=" 55" Width="300" Background="Yellow" Content="Шар ответил... " x:Name="label1" Margin="10,10,10,10"/>
<TextBox Background="Aqua" Width="150" Height="120" x:Name="textbox" TextWrapping="Wrap" Margin="10,10,10,10"/>
<Button Width="100" Height="80" Content="Узнать ответ" Click="Button_Click" Margin="10,10,10,10"/>
</StackPanel>
<MediaElement Source="Ball.gif" Name="myMediaElement" Visibility="Visible"
Width="300" Height="320" LoadedBehavior="Manual" UnloadedBehavior="Stop" Stretch="Fill" />
</Grid>
</Window>

View file

@ -0,0 +1,72 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Threading;
using System.IO;
namespace WpfApp13
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
DispatcherTimer timer = new DispatcherTimer();
Random r = new Random();
public int second = 0;
public MainWindow()
{
InitializeComponent();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
timer.Interval = TimeSpan.FromSeconds(1);
timer.Tick += timer_Tick;
if (textbox.Text != "")
{
myMediaElement.IsEnabled = false;
//myMediaElement.Stop();
myMediaElement.Play();
myMediaElement.Visibility = Visibility.Visible;
timer.Start();
}
else
{
MessageBox.Show("Ты не ввёл вопрос( Попробуй еще раз");
}
while (myMediaElement.CanPause == false) { }
int count = System.IO.File.ReadAllLines("text.txt").Length;
int num = r.Next(0, count);
string h = "";
h = File.ReadLines("text.txt").ElementAt(num);
label1.Content = "Шар ответил... " + "\n" + h;
//myMediaElement.Visibility = Visibility.Hidden;
}
void timer_Tick(object sender, EventArgs e)
{
second++;
if (second == 6)
{
myMediaElement.Visibility = Visibility.Hidden;
textbox.Text = "";
timer.IsEnabled = false;
}
}
}
}

View file

@ -0,0 +1,55 @@
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WpfApp13")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("HP Inc.")]
[assembly: AssemblyProduct("WpfApp13")]
[assembly: AssemblyCopyright("Copyright © HP Inc. 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
//In order to begin building localizable applications, set
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
//inside a <PropertyGroup>. For example, if you are using US english
//in your source files, set the <UICulture> to en-US. Then uncomment
//the NeutralResourceLanguage attribute below. Update the "en-US" in
//the line below to match the UICulture setting in the project file.
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View file

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WpfApp13.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WpfApp13.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View file

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

30
WpfApp13/Properties/Settings.Designer.cs generated Normal file
View file

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace WpfApp13.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View file

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

102
WpfApp13/WpfApp13.csproj Normal file
View file

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{037BE5FE-6185-4A09-B328-41A5CA430710}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>WpfApp13</RootNamespace>
<AssemblyName>WpfApp13</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="WpfAnimatedGif, Version=2.0.0.0, Culture=neutral, PublicKeyToken=9e7cd3b544a090dc, processorArchitecture=MSIL">
<HintPath>..\packages\WpfAnimatedGif.2.0.0\lib\net40\WpfAnimatedGif.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

BIN
WpfApp13/bin/Debug/Ball.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,254 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>WpfAnimatedGif</name>
</assembly>
<members>
<member name="T:WpfAnimatedGif.ImageAnimationController">
<summary>
Provides a way to pause, resume or seek a GIF animation.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.FrameCount">
<summary>
Returns the number of frames in the image.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.Duration">
<summary>
Returns the duration of the animation.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.IsPaused">
<summary>
Returns a value that indicates whether the animation is paused.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.IsComplete">
<summary>
Returns a value that indicates whether the animation is complete.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.GotoFrame(System.Int32)">
<summary>
Seeks the animation to the specified frame index.
</summary>
<param name="index">The index of the frame to seek to</param>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.CurrentFrame">
<summary>
Returns the current frame index.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Pause">
<summary>
Pauses the animation.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Play">
<summary>
Starts or resumes the animation. If the animation is complete, it restarts from the beginning.
</summary>
</member>
<member name="E:WpfAnimatedGif.ImageAnimationController.CurrentFrameChanged">
<summary>
Raised when the current frame changes.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Finalize">
<summary>
Finalizes the current object.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Dispose">
<summary>
Disposes the current object.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Dispose(System.Boolean)">
<summary>
Disposes the current object
</summary>
<param name="disposing">true to dispose both managed an unmanaged resources, false to dispose only managed resources</param>
</member>
<member name="T:WpfAnimatedGif.ImageBehavior">
<summary>
Provides attached properties that display animated GIFs in a standard Image control.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimatedSource(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>AnimatedSource</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The currently displayed animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimatedSource(System.Windows.Controls.Image,System.Windows.Media.ImageSource)">
<summary>
Sets the value of the <c>AnimatedSource</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The animated image to display.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimatedSourceProperty">
<summary>
Identifies the <c>AnimatedSource</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetRepeatBehavior(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>RepeatBehavior</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The repeat behavior of the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetRepeatBehavior(System.Windows.Controls.Image,System.Windows.Media.Animation.RepeatBehavior)">
<summary>
Sets the value of the <c>RepeatBehavior</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The repeat behavior of the animated image.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.RepeatBehaviorProperty">
<summary>
Identifies the <c>RepeatBehavior</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationSpeedRatio(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimationSpeedRatio</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The speed ratio for the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimationSpeedRatio(System.Windows.DependencyObject,System.Nullable{System.Double})">
<summary>
Sets the value of the <c>AnimationSpeedRatio</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The speed ratio of the animated image.</param>
<remarks>The <c>AnimationSpeedRatio</c> and <c>AnimationDuration</c> properties are mutually exclusive, only one can be set at a time.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationSpeedRatioProperty">
<summary>
Identifies the <c>AnimationSpeedRatio</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationDuration(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimationDuration</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The duration for the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimationDuration(System.Windows.DependencyObject,System.Nullable{System.Windows.Duration})">
<summary>
Sets the value of the <c>AnimationDuration</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The duration of the animated image.</param>
<remarks>The <c>AnimationSpeedRatio</c> and <c>AnimationDuration</c> properties are mutually exclusive, only one can be set at a time.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationDurationProperty">
<summary>
Identifies the <c>AnimationDuration</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimateInDesignMode(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimateInDesignMode</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>true if GIF animations are shown in design mode; false otherwise.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimateInDesignMode(System.Windows.DependencyObject,System.Boolean)">
<summary>
Sets the value of the <c>AnimateInDesignMode</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">true to show GIF animations in design mode; false otherwise.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimateInDesignModeProperty">
<summary>
Identifies the <c>AnimateInDesignMode</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAutoStart(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>AutoStart</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>true if the animation should start immediately when loaded. Otherwise, false.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAutoStart(System.Windows.Controls.Image,System.Boolean)">
<summary>
Sets the value of the <c>AutoStart</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<param name="value">true if the animation should start immediately when loaded. Otherwise, false.</param>
<remarks>The default value is true.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AutoStartProperty">
<summary>
Identifies the <c>AutoStart</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationController(System.Windows.Controls.Image)">
<summary>
Gets the animation controller for the specified <c>Image</c> control.
</summary>
<param name="imageControl"></param>
<returns></returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetIsAnimationLoaded(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>IsAnimationLoaded</c> attached property for the specified object.
</summary>
<param name="image">The element from which to read the property value.</param>
<returns>true if the animation is loaded. Otherwise, false.</returns>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.IsAnimationLoadedProperty">
<summary>
Identifies the <c>IsAnimationLoaded</c> attached property.
</summary>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationLoadedEvent">
<summary>
Identifies the <c>AnimationLoaded</c> attached event.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.AddAnimationLoadedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Adds a handler for the AnimationLoaded attached event.
</summary>
<param name="image">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.RemoveAnimationLoadedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Removes a handler for the AnimationLoaded attached event.
</summary>
<param name="image">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationCompletedEvent">
<summary>
Identifies the <c>AnimationCompleted</c> attached event.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.AddAnimationCompletedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Adds a handler for the AnimationCompleted attached event.
</summary>
<param name="d">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.RemoveAnimationCompletedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Removes a handler for the AnimationCompleted attached event.
</summary>
<param name="d">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
</member>
</members>
</doc>

Binary file not shown.

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>

Binary file not shown.

View file

@ -0,0 +1,5 @@
нет
да
не знаю
а что это?
скорее да чем нет

View file

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]

View file

@ -0,0 +1,70 @@
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9C0BD96BC33D2F31EC340FDC681F87F0C7398ACCC8BE69195AC5F2564A799F76"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using WpfApp13;
namespace WpfApp13 {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
#line 5 "..\..\App.xaml"
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
#line default
#line hidden
}
/// <summary>
/// Application Entry Point.
/// </summary>
[System.STAThreadAttribute()]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public static void Main() {
WpfApp13.App app = new WpfApp13.App();
app.InitializeComponent();
app.Run();
}
}
}

View file

@ -0,0 +1,70 @@
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9C0BD96BC33D2F31EC340FDC681F87F0C7398ACCC8BE69195AC5F2564A799F76"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using WpfApp13;
namespace WpfApp13 {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
#line 5 "..\..\App.xaml"
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
#line default
#line hidden
}
/// <summary>
/// Application Entry Point.
/// </summary>
[System.STAThreadAttribute()]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public static void Main() {
WpfApp13.App app = new WpfApp13.App();
app.InitializeComponent();
app.Run();
}
}
}

Binary file not shown.

View file

@ -0,0 +1,118 @@
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "553CE522458BF9061CA9C4D146FA3E073C333EB3527306B68F6AAF374D734AB7"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
namespace WpfApp13 {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 10 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label label1;
#line default
#line hidden
#line 11 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox textbox;
#line default
#line hidden
#line 15 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MediaElement myMediaElement;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfApp13;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.label1 = ((System.Windows.Controls.Label)(target));
return;
case 2:
this.textbox = ((System.Windows.Controls.TextBox)(target));
return;
case 3:
#line 12 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
#line default
#line hidden
return;
case 4:
this.myMediaElement = ((System.Windows.Controls.MediaElement)(target));
return;
}
this._contentLoaded = true;
}
}
}

View file

@ -0,0 +1,118 @@
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "553CE522458BF9061CA9C4D146FA3E073C333EB3527306B68F6AAF374D734AB7"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
namespace WpfApp13 {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 10 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label label1;
#line default
#line hidden
#line 11 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox textbox;
#line default
#line hidden
#line 15 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MediaElement myMediaElement;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfApp13;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.label1 = ((System.Windows.Controls.Label)(target));
return;
case 2:
this.textbox = ((System.Windows.Controls.TextBox)(target));
return;
case 3:
#line 12 "..\..\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
#line default
#line hidden
return;
case 4:
this.myMediaElement = ((System.Windows.Controls.MediaElement)(target));
return;
}
this._contentLoaded = true;
}
}
}

View file

@ -0,0 +1 @@
6fbb10d4ff7333045d293c036faf9f02caab50ec

View file

@ -0,0 +1,51 @@
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\WpfApp13.csprojAssemblyReference.cache
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\App.g.cs
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\WpfApp13_MarkupCompile.cache
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\bin\Debug\WpfApp13.exe.config
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\bin\Debug\WpfApp13.exe
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\bin\Debug\WpfApp13.pdb
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\MainWindow.g.cs
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\WpfApp13_MarkupCompile.lref
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\MainWindow.baml
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\WpfApp13.g.resources
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\WpfApp13.Properties.Resources.resources
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\WpfApp13.csproj.GenerateResource.cache
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\WpfApp13.csproj.CoreCompileInputs.cache
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\WpfApp13.exe
C:\Users\Admin\source\repos\WpfApp13\WpfApp13\obj\Debug\WpfApp13.pdb
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\MainWindow.g.cs
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\App.g.cs
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\WpfApp13_MarkupCompile.cache
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\WpfApp13.pdb
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\bin\Debug\WpfApp13.exe.config
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\bin\Debug\WpfApp13.exe
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\bin\Debug\WpfApp13.pdb
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\MainWindow.baml
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\WpfApp13.g.resources
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\WpfApp13.Properties.Resources.resources
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\WpfApp13.csproj.GenerateResource.cache
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\WpfApp13.csproj.CoreCompileInputs.cache
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\WpfApp13.exe
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\bin\Debug\WpfAnimatedGif.dll
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\bin\Debug\WpfAnimatedGif.pdb
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\bin\Debug\WpfAnimatedGif.xml
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\WpfApp13.csproj.CopyComplete
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\WpfApp13.csprojAssemblyReference.cache
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\bin\Debug\WpfApp13.exe.config
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\bin\Debug\WpfApp13.exe
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\bin\Debug\WpfApp13.pdb
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\bin\Debug\WpfAnimatedGif.dll
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\bin\Debug\WpfAnimatedGif.pdb
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\bin\Debug\WpfAnimatedGif.xml
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\WpfApp13.csprojAssemblyReference.cache
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\MainWindow.baml
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\MainWindow.g.cs
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\App.g.cs
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\WpfApp13_MarkupCompile.cache
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\WpfApp13.g.resources
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\WpfApp13.Properties.Resources.resources
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\WpfApp13.csproj.GenerateResource.cache
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\WpfApp13.csproj.CoreCompileInputs.cache
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\WpfApp13.csproj.CopyComplete
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\WpfApp13.exe
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\WpfApp13.pdb

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,20 @@
WpfApp13
winexe
C#
.cs
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\obj\Debug\
WpfApp13
none
false
DEBUG;TRACE
C:\Users\Semejkin_AV\Desktop\Projects\MagicBall\WpfApp13\App.xaml
11151548125
5-2017746502
14-50059670
MainWindow.xaml;
False

View file

@ -0,0 +1,20 @@
WpfApp13
winexe
C#
.cs
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\obj\Debug\
WpfApp13
none
false
DEBUG;TRACE
C:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\App.xaml
11151548125
61434861427
14541824140
MainWindow.xaml;
True

View file

@ -0,0 +1,4 @@

FC:\Users\Semejkin_AV\Desktop\WpfApp13\WpfApp13\MainWindow.xaml;;

4
WpfApp13/packages.config Normal file
View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="WpfAnimatedGif" version="2.0.0" targetFramework="net472" />
</packages>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,254 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>WpfAnimatedGif</name>
</assembly>
<members>
<member name="T:WpfAnimatedGif.ImageAnimationController">
<summary>
Provides a way to pause, resume or seek a GIF animation.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.FrameCount">
<summary>
Returns the number of frames in the image.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.Duration">
<summary>
Returns the duration of the animation.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.IsPaused">
<summary>
Returns a value that indicates whether the animation is paused.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.IsComplete">
<summary>
Returns a value that indicates whether the animation is complete.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.GotoFrame(System.Int32)">
<summary>
Seeks the animation to the specified frame index.
</summary>
<param name="index">The index of the frame to seek to</param>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.CurrentFrame">
<summary>
Returns the current frame index.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Pause">
<summary>
Pauses the animation.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Play">
<summary>
Starts or resumes the animation. If the animation is complete, it restarts from the beginning.
</summary>
</member>
<member name="E:WpfAnimatedGif.ImageAnimationController.CurrentFrameChanged">
<summary>
Raised when the current frame changes.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Finalize">
<summary>
Finalizes the current object.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Dispose">
<summary>
Disposes the current object.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Dispose(System.Boolean)">
<summary>
Disposes the current object
</summary>
<param name="disposing">true to dispose both managed an unmanaged resources, false to dispose only managed resources</param>
</member>
<member name="T:WpfAnimatedGif.ImageBehavior">
<summary>
Provides attached properties that display animated GIFs in a standard Image control.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimatedSource(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>AnimatedSource</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The currently displayed animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimatedSource(System.Windows.Controls.Image,System.Windows.Media.ImageSource)">
<summary>
Sets the value of the <c>AnimatedSource</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The animated image to display.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimatedSourceProperty">
<summary>
Identifies the <c>AnimatedSource</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetRepeatBehavior(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>RepeatBehavior</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The repeat behavior of the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetRepeatBehavior(System.Windows.Controls.Image,System.Windows.Media.Animation.RepeatBehavior)">
<summary>
Sets the value of the <c>RepeatBehavior</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The repeat behavior of the animated image.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.RepeatBehaviorProperty">
<summary>
Identifies the <c>RepeatBehavior</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationSpeedRatio(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimationSpeedRatio</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The speed ratio for the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimationSpeedRatio(System.Windows.DependencyObject,System.Nullable{System.Double})">
<summary>
Sets the value of the <c>AnimationSpeedRatio</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The speed ratio of the animated image.</param>
<remarks>The <c>AnimationSpeedRatio</c> and <c>AnimationDuration</c> properties are mutually exclusive, only one can be set at a time.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationSpeedRatioProperty">
<summary>
Identifies the <c>AnimationSpeedRatio</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationDuration(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimationDuration</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The duration for the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimationDuration(System.Windows.DependencyObject,System.Nullable{System.Windows.Duration})">
<summary>
Sets the value of the <c>AnimationDuration</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The duration of the animated image.</param>
<remarks>The <c>AnimationSpeedRatio</c> and <c>AnimationDuration</c> properties are mutually exclusive, only one can be set at a time.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationDurationProperty">
<summary>
Identifies the <c>AnimationDuration</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimateInDesignMode(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimateInDesignMode</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>true if GIF animations are shown in design mode; false otherwise.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimateInDesignMode(System.Windows.DependencyObject,System.Boolean)">
<summary>
Sets the value of the <c>AnimateInDesignMode</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">true to show GIF animations in design mode; false otherwise.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimateInDesignModeProperty">
<summary>
Identifies the <c>AnimateInDesignMode</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAutoStart(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>AutoStart</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>true if the animation should start immediately when loaded. Otherwise, false.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAutoStart(System.Windows.Controls.Image,System.Boolean)">
<summary>
Sets the value of the <c>AutoStart</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<param name="value">true if the animation should start immediately when loaded. Otherwise, false.</param>
<remarks>The default value is true.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AutoStartProperty">
<summary>
Identifies the <c>AutoStart</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationController(System.Windows.Controls.Image)">
<summary>
Gets the animation controller for the specified <c>Image</c> control.
</summary>
<param name="imageControl"></param>
<returns></returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetIsAnimationLoaded(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>IsAnimationLoaded</c> attached property for the specified object.
</summary>
<param name="image">The element from which to read the property value.</param>
<returns>true if the animation is loaded. Otherwise, false.</returns>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.IsAnimationLoadedProperty">
<summary>
Identifies the <c>IsAnimationLoaded</c> attached property.
</summary>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationLoadedEvent">
<summary>
Identifies the <c>AnimationLoaded</c> attached event.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.AddAnimationLoadedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Adds a handler for the AnimationLoaded attached event.
</summary>
<param name="image">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.RemoveAnimationLoadedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Removes a handler for the AnimationLoaded attached event.
</summary>
<param name="image">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationCompletedEvent">
<summary>
Identifies the <c>AnimationCompleted</c> attached event.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.AddAnimationCompletedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Adds a handler for the AnimationCompleted attached event.
</summary>
<param name="d">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.RemoveAnimationCompletedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Removes a handler for the AnimationCompleted attached event.
</summary>
<param name="d">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
</member>
</members>
</doc>

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,254 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>WpfAnimatedGif</name>
</assembly>
<members>
<member name="T:WpfAnimatedGif.ImageAnimationController">
<summary>
Provides a way to pause, resume or seek a GIF animation.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.FrameCount">
<summary>
Returns the number of frames in the image.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.Duration">
<summary>
Returns the duration of the animation.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.IsPaused">
<summary>
Returns a value that indicates whether the animation is paused.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.IsComplete">
<summary>
Returns a value that indicates whether the animation is complete.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.GotoFrame(System.Int32)">
<summary>
Seeks the animation to the specified frame index.
</summary>
<param name="index">The index of the frame to seek to</param>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.CurrentFrame">
<summary>
Returns the current frame index.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Pause">
<summary>
Pauses the animation.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Play">
<summary>
Starts or resumes the animation. If the animation is complete, it restarts from the beginning.
</summary>
</member>
<member name="E:WpfAnimatedGif.ImageAnimationController.CurrentFrameChanged">
<summary>
Raised when the current frame changes.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Finalize">
<summary>
Finalizes the current object.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Dispose">
<summary>
Disposes the current object.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Dispose(System.Boolean)">
<summary>
Disposes the current object
</summary>
<param name="disposing">true to dispose both managed an unmanaged resources, false to dispose only managed resources</param>
</member>
<member name="T:WpfAnimatedGif.ImageBehavior">
<summary>
Provides attached properties that display animated GIFs in a standard Image control.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimatedSource(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>AnimatedSource</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The currently displayed animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimatedSource(System.Windows.Controls.Image,System.Windows.Media.ImageSource)">
<summary>
Sets the value of the <c>AnimatedSource</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The animated image to display.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimatedSourceProperty">
<summary>
Identifies the <c>AnimatedSource</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetRepeatBehavior(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>RepeatBehavior</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The repeat behavior of the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetRepeatBehavior(System.Windows.Controls.Image,System.Windows.Media.Animation.RepeatBehavior)">
<summary>
Sets the value of the <c>RepeatBehavior</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The repeat behavior of the animated image.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.RepeatBehaviorProperty">
<summary>
Identifies the <c>RepeatBehavior</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationSpeedRatio(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimationSpeedRatio</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The speed ratio for the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimationSpeedRatio(System.Windows.DependencyObject,System.Nullable{System.Double})">
<summary>
Sets the value of the <c>AnimationSpeedRatio</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The speed ratio of the animated image.</param>
<remarks>The <c>AnimationSpeedRatio</c> and <c>AnimationDuration</c> properties are mutually exclusive, only one can be set at a time.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationSpeedRatioProperty">
<summary>
Identifies the <c>AnimationSpeedRatio</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationDuration(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimationDuration</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The duration for the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimationDuration(System.Windows.DependencyObject,System.Nullable{System.Windows.Duration})">
<summary>
Sets the value of the <c>AnimationDuration</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The duration of the animated image.</param>
<remarks>The <c>AnimationSpeedRatio</c> and <c>AnimationDuration</c> properties are mutually exclusive, only one can be set at a time.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationDurationProperty">
<summary>
Identifies the <c>AnimationDuration</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimateInDesignMode(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimateInDesignMode</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>true if GIF animations are shown in design mode; false otherwise.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimateInDesignMode(System.Windows.DependencyObject,System.Boolean)">
<summary>
Sets the value of the <c>AnimateInDesignMode</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">true to show GIF animations in design mode; false otherwise.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimateInDesignModeProperty">
<summary>
Identifies the <c>AnimateInDesignMode</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAutoStart(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>AutoStart</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>true if the animation should start immediately when loaded. Otherwise, false.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAutoStart(System.Windows.Controls.Image,System.Boolean)">
<summary>
Sets the value of the <c>AutoStart</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<param name="value">true if the animation should start immediately when loaded. Otherwise, false.</param>
<remarks>The default value is true.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AutoStartProperty">
<summary>
Identifies the <c>AutoStart</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationController(System.Windows.Controls.Image)">
<summary>
Gets the animation controller for the specified <c>Image</c> control.
</summary>
<param name="imageControl"></param>
<returns></returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetIsAnimationLoaded(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>IsAnimationLoaded</c> attached property for the specified object.
</summary>
<param name="image">The element from which to read the property value.</param>
<returns>true if the animation is loaded. Otherwise, false.</returns>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.IsAnimationLoadedProperty">
<summary>
Identifies the <c>IsAnimationLoaded</c> attached property.
</summary>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationLoadedEvent">
<summary>
Identifies the <c>AnimationLoaded</c> attached event.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.AddAnimationLoadedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Adds a handler for the AnimationLoaded attached event.
</summary>
<param name="image">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.RemoveAnimationLoadedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Removes a handler for the AnimationLoaded attached event.
</summary>
<param name="image">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationCompletedEvent">
<summary>
Identifies the <c>AnimationCompleted</c> attached event.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.AddAnimationCompletedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Adds a handler for the AnimationCompleted attached event.
</summary>
<param name="d">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.RemoveAnimationCompletedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Removes a handler for the AnimationCompleted attached event.
</summary>
<param name="d">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
</member>
</members>
</doc>

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,254 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>WpfAnimatedGif</name>
</assembly>
<members>
<member name="T:WpfAnimatedGif.ImageAnimationController">
<summary>
Provides a way to pause, resume or seek a GIF animation.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.FrameCount">
<summary>
Returns the number of frames in the image.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.Duration">
<summary>
Returns the duration of the animation.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.IsPaused">
<summary>
Returns a value that indicates whether the animation is paused.
</summary>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.IsComplete">
<summary>
Returns a value that indicates whether the animation is complete.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.GotoFrame(System.Int32)">
<summary>
Seeks the animation to the specified frame index.
</summary>
<param name="index">The index of the frame to seek to</param>
</member>
<member name="P:WpfAnimatedGif.ImageAnimationController.CurrentFrame">
<summary>
Returns the current frame index.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Pause">
<summary>
Pauses the animation.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Play">
<summary>
Starts or resumes the animation. If the animation is complete, it restarts from the beginning.
</summary>
</member>
<member name="E:WpfAnimatedGif.ImageAnimationController.CurrentFrameChanged">
<summary>
Raised when the current frame changes.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Finalize">
<summary>
Finalizes the current object.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Dispose">
<summary>
Disposes the current object.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageAnimationController.Dispose(System.Boolean)">
<summary>
Disposes the current object
</summary>
<param name="disposing">true to dispose both managed an unmanaged resources, false to dispose only managed resources</param>
</member>
<member name="T:WpfAnimatedGif.ImageBehavior">
<summary>
Provides attached properties that display animated GIFs in a standard Image control.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimatedSource(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>AnimatedSource</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The currently displayed animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimatedSource(System.Windows.Controls.Image,System.Windows.Media.ImageSource)">
<summary>
Sets the value of the <c>AnimatedSource</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The animated image to display.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimatedSourceProperty">
<summary>
Identifies the <c>AnimatedSource</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetRepeatBehavior(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>RepeatBehavior</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The repeat behavior of the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetRepeatBehavior(System.Windows.Controls.Image,System.Windows.Media.Animation.RepeatBehavior)">
<summary>
Sets the value of the <c>RepeatBehavior</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The repeat behavior of the animated image.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.RepeatBehaviorProperty">
<summary>
Identifies the <c>RepeatBehavior</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationSpeedRatio(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimationSpeedRatio</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The speed ratio for the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimationSpeedRatio(System.Windows.DependencyObject,System.Nullable{System.Double})">
<summary>
Sets the value of the <c>AnimationSpeedRatio</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The speed ratio of the animated image.</param>
<remarks>The <c>AnimationSpeedRatio</c> and <c>AnimationDuration</c> properties are mutually exclusive, only one can be set at a time.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationSpeedRatioProperty">
<summary>
Identifies the <c>AnimationSpeedRatio</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationDuration(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimationDuration</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>The duration for the animated image.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimationDuration(System.Windows.DependencyObject,System.Nullable{System.Windows.Duration})">
<summary>
Sets the value of the <c>AnimationDuration</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">The duration of the animated image.</param>
<remarks>The <c>AnimationSpeedRatio</c> and <c>AnimationDuration</c> properties are mutually exclusive, only one can be set at a time.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationDurationProperty">
<summary>
Identifies the <c>AnimationDuration</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimateInDesignMode(System.Windows.DependencyObject)">
<summary>
Gets the value of the <c>AnimateInDesignMode</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>true if GIF animations are shown in design mode; false otherwise.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAnimateInDesignMode(System.Windows.DependencyObject,System.Boolean)">
<summary>
Sets the value of the <c>AnimateInDesignMode</c> attached property for the specified object.
</summary>
<param name="obj">The element on which to set the property value.</param>
<param name="value">true to show GIF animations in design mode; false otherwise.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimateInDesignModeProperty">
<summary>
Identifies the <c>AnimateInDesignMode</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAutoStart(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>AutoStart</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<returns>true if the animation should start immediately when loaded. Otherwise, false.</returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.SetAutoStart(System.Windows.Controls.Image,System.Boolean)">
<summary>
Sets the value of the <c>AutoStart</c> attached property for the specified object.
</summary>
<param name="obj">The element from which to read the property value.</param>
<param name="value">true if the animation should start immediately when loaded. Otherwise, false.</param>
<remarks>The default value is true.</remarks>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AutoStartProperty">
<summary>
Identifies the <c>AutoStart</c> attached property.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetAnimationController(System.Windows.Controls.Image)">
<summary>
Gets the animation controller for the specified <c>Image</c> control.
</summary>
<param name="imageControl"></param>
<returns></returns>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.GetIsAnimationLoaded(System.Windows.Controls.Image)">
<summary>
Gets the value of the <c>IsAnimationLoaded</c> attached property for the specified object.
</summary>
<param name="image">The element from which to read the property value.</param>
<returns>true if the animation is loaded. Otherwise, false.</returns>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.IsAnimationLoadedProperty">
<summary>
Identifies the <c>IsAnimationLoaded</c> attached property.
</summary>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationLoadedEvent">
<summary>
Identifies the <c>AnimationLoaded</c> attached event.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.AddAnimationLoadedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Adds a handler for the AnimationLoaded attached event.
</summary>
<param name="image">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.RemoveAnimationLoadedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Removes a handler for the AnimationLoaded attached event.
</summary>
<param name="image">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
</member>
<member name="F:WpfAnimatedGif.ImageBehavior.AnimationCompletedEvent">
<summary>
Identifies the <c>AnimationCompleted</c> attached event.
</summary>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.AddAnimationCompletedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Adds a handler for the AnimationCompleted attached event.
</summary>
<param name="d">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
</member>
<member name="M:WpfAnimatedGif.ImageBehavior.RemoveAnimationCompletedHandler(System.Windows.Controls.Image,System.Windows.RoutedEventHandler)">
<summary>
Removes a handler for the AnimationCompleted attached event.
</summary>
<param name="d">The UIElement that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
</member>
</members>
</doc>