commit f347f1ca5ef0ec4b02176dff895f5515901af8ee Author: moussagerges Date: Thu Aug 6 23:25:23 2020 +0200 Digital Clock diff --git a/Digital Clock/.vs/Digital Clock/v16/.suo b/Digital Clock/.vs/Digital Clock/v16/.suo new file mode 100644 index 0000000..0c0db50 Binary files /dev/null and b/Digital Clock/.vs/Digital Clock/v16/.suo differ diff --git a/Digital Clock/Digital Clock.sln b/Digital Clock/Digital Clock.sln new file mode 100644 index 0000000..1ddcdcf --- /dev/null +++ b/Digital Clock/Digital Clock.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29920.165 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Digital Clock", "Digital Clock\Digital Clock.csproj", "{94E687F4-E72A-4560-8544-21A96E5736FB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {94E687F4-E72A-4560-8544-21A96E5736FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {94E687F4-E72A-4560-8544-21A96E5736FB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {94E687F4-E72A-4560-8544-21A96E5736FB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {94E687F4-E72A-4560-8544-21A96E5736FB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {3188C357-024A-4529-974D-EC809EB59777} + EndGlobalSection +EndGlobal diff --git a/Digital Clock/Digital Clock/App.config b/Digital Clock/Digital Clock/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/Digital Clock/Digital Clock/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Digital Clock/Digital Clock/Digital Clock.csproj b/Digital Clock/Digital Clock/Digital Clock.csproj new file mode 100644 index 0000000..7eb282d --- /dev/null +++ b/Digital Clock/Digital Clock/Digital Clock.csproj @@ -0,0 +1,90 @@ + + + + + Debug + AnyCPU + {94E687F4-E72A-4560-8544-21A96E5736FB} + WinExe + Digital_Clock + Digital Clock + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\CircularProgressBar.2.8.0.16\lib\net40\CircularProgressBar.dll + + + + + + + + + + + + + + ..\packages\WinFormAnimation.1.6.0.4\lib\net40\WinFormAnimation.dll + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/Digital Clock/Digital Clock/Form1.Designer.cs b/Digital Clock/Digital Clock/Form1.Designer.cs new file mode 100644 index 0000000..bc51ec7 --- /dev/null +++ b/Digital Clock/Digital Clock/Form1.Designer.cs @@ -0,0 +1,91 @@ +namespace Digital_Clock +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.circularProgressBar1 = new CircularProgressBar.CircularProgressBar(); + this.SuspendLayout(); + // + // circularProgressBar1 + // + this.circularProgressBar1.AnimationFunction = WinFormAnimation.KnownAnimationFunctions.Liner; + this.circularProgressBar1.AnimationSpeed = 400; + this.circularProgressBar1.BackColor = System.Drawing.Color.Transparent; + this.circularProgressBar1.Dock = System.Windows.Forms.DockStyle.Fill; + this.circularProgressBar1.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F, System.Drawing.FontStyle.Bold); + this.circularProgressBar1.ForeColor = System.Drawing.Color.White; + this.circularProgressBar1.InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(73)))), ((int)(((byte)(94))))); + this.circularProgressBar1.InnerMargin = 2; + this.circularProgressBar1.InnerWidth = -1; + this.circularProgressBar1.Location = new System.Drawing.Point(0, 0); + this.circularProgressBar1.MarqueeAnimationSpeed = 2000; + this.circularProgressBar1.Name = "circularProgressBar1"; + this.circularProgressBar1.OuterColor = System.Drawing.Color.White; + this.circularProgressBar1.OuterMargin = -25; + this.circularProgressBar1.OuterWidth = 26; + this.circularProgressBar1.ProgressColor = System.Drawing.Color.DodgerBlue; + this.circularProgressBar1.ProgressWidth = 16; + this.circularProgressBar1.SecondaryFont = new System.Drawing.Font("Microsoft Sans Serif", 12F); + this.circularProgressBar1.Size = new System.Drawing.Size(352, 323); + this.circularProgressBar1.StartAngle = 270; + this.circularProgressBar1.Style = System.Windows.Forms.ProgressBarStyle.Marquee; + this.circularProgressBar1.SubscriptColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166))))); + this.circularProgressBar1.SubscriptMargin = new System.Windows.Forms.Padding(10, -35, 0, 0); + this.circularProgressBar1.SubscriptText = ".23"; + this.circularProgressBar1.SuperscriptColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166))))); + this.circularProgressBar1.SuperscriptMargin = new System.Windows.Forms.Padding(10, 35, 0, 0); + this.circularProgressBar1.SuperscriptText = ""; + this.circularProgressBar1.TabIndex = 0; + this.circularProgressBar1.Text = "00:00:00"; + this.circularProgressBar1.TextMargin = new System.Windows.Forms.Padding(8, 8, 0, 0); + this.circularProgressBar1.Value = 60; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.ClientSize = new System.Drawing.Size(352, 323); + this.Controls.Add(this.circularProgressBar1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.Name = "Form1"; + this.ShowIcon = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Digital Clock"; + this.Load += new System.EventHandler(this.Form1_Load); + this.ResumeLayout(false); + + } + + #endregion + + private CircularProgressBar.CircularProgressBar circularProgressBar1; + } +} + diff --git a/Digital Clock/Digital Clock/Form1.cs b/Digital Clock/Digital Clock/Form1.cs new file mode 100644 index 0000000..56f2cdc --- /dev/null +++ b/Digital Clock/Digital Clock/Form1.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Timers; +using System.Windows.Forms; + +namespace Digital_Clock +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + private void Form1_Load(object sender, EventArgs e) + { + System.Timers.Timer timer =new System.Timers.Timer(); + timer.Interval = 1000; + timer.Elapsed += Timer_Elapsed; + timer.Start(); + } + + private void Timer_Elapsed(object sender, ElapsedEventArgs e) + { + circularProgressBar1.Invoke((MethodInvoker) delegate + { + circularProgressBar1.Text = DateTime.Now.ToString("hh:mm:ss"); + circularProgressBar1.SubscriptText = DateTime.Now.ToString("tt"); + }); + } + } +} diff --git a/Digital Clock/Digital Clock/Form1.resx b/Digital Clock/Digital Clock/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Digital Clock/Digital Clock/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Digital Clock/Digital Clock/Program.cs b/Digital Clock/Digital Clock/Program.cs new file mode 100644 index 0000000..a3c0758 --- /dev/null +++ b/Digital Clock/Digital Clock/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Digital_Clock +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/Digital Clock/Digital Clock/Properties/AssemblyInfo.cs b/Digital Clock/Digital Clock/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b24175f --- /dev/null +++ b/Digital Clock/Digital Clock/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 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("Digital Clock")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Digital Clock")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[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)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("94e687f4-e72a-4560-8544-21a96e5736fb")] + +// 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")] diff --git a/Digital Clock/Digital Clock/Properties/Resources.Designer.cs b/Digital Clock/Digital Clock/Properties/Resources.Designer.cs new file mode 100644 index 0000000..c367152 --- /dev/null +++ b/Digital Clock/Digital Clock/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace Digital_Clock.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("Digital_Clock.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Digital Clock/Digital Clock/Properties/Resources.resx b/Digital Clock/Digital Clock/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Digital Clock/Digital Clock/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Digital Clock/Digital Clock/Properties/Settings.Designer.cs b/Digital Clock/Digital Clock/Properties/Settings.Designer.cs new file mode 100644 index 0000000..87ed697 --- /dev/null +++ b/Digital Clock/Digital Clock/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace Digital_Clock.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; + } + } + } +} diff --git a/Digital Clock/Digital Clock/Properties/Settings.settings b/Digital Clock/Digital Clock/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Digital Clock/Digital Clock/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Digital Clock/Digital Clock/bin/Debug/CircularProgressBar.dll b/Digital Clock/Digital Clock/bin/Debug/CircularProgressBar.dll new file mode 100644 index 0000000..0d91130 Binary files /dev/null and b/Digital Clock/Digital Clock/bin/Debug/CircularProgressBar.dll differ diff --git a/Digital Clock/Digital Clock/bin/Debug/CircularProgressBar.xml b/Digital Clock/Digital Clock/bin/Debug/CircularProgressBar.xml new file mode 100644 index 0000000..331da79 --- /dev/null +++ b/Digital Clock/Digital Clock/bin/Debug/CircularProgressBar.xml @@ -0,0 +1,172 @@ + + + + CircularProgressBar + + + + + The circular progress bar windows form control + + + + + Initializes a new instance of the class. + + + + + Sets a known animation function. + + + + + Gets or sets the animation speed in milliseconds. + + + + + Sets a custom animation function. + + + + + Gets or sets the font of text in the . + + + The of the text. The default is the font set by the container. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets the text in the . + + + + + + + + + + + + Raises the event. + + A that contains the event data. + + + + + + + + + + + + + + + + Initialize the animation for the continues styling + + True if it is the first execution of this function, otherwise false + + + + Initialize the animation for the marquee styling + + True if it is the first execution of this function, otherwise false + + + + Occurs when parent's display requires redrawing. + + + + + + + Occurs when the parent resized. + + + + + + + Update or create the brush used for drawing the background + + + + + The function responsible for painting the control + + The object to draw into + + + diff --git a/Digital Clock/Digital Clock/bin/Debug/Digital Clock.exe b/Digital Clock/Digital Clock/bin/Debug/Digital Clock.exe new file mode 100644 index 0000000..a3c11ce Binary files /dev/null and b/Digital Clock/Digital Clock/bin/Debug/Digital Clock.exe differ diff --git a/Digital Clock/Digital Clock/bin/Debug/Digital Clock.exe.config b/Digital Clock/Digital Clock/bin/Debug/Digital Clock.exe.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/Digital Clock/Digital Clock/bin/Debug/Digital Clock.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Digital Clock/Digital Clock/bin/Debug/Digital Clock.pdb b/Digital Clock/Digital Clock/bin/Debug/Digital Clock.pdb new file mode 100644 index 0000000..b9c208c Binary files /dev/null and b/Digital Clock/Digital Clock/bin/Debug/Digital Clock.pdb differ diff --git a/Digital Clock/Digital Clock/bin/Debug/WinFormAnimation.dll b/Digital Clock/Digital Clock/bin/Debug/WinFormAnimation.dll new file mode 100644 index 0000000..e2655ee Binary files /dev/null and b/Digital Clock/Digital Clock/bin/Debug/WinFormAnimation.dll differ diff --git a/Digital Clock/Digital Clock/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Digital Clock/Digital Clock/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..3435aa8 Binary files /dev/null and b/Digital Clock/Digital Clock/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Digital Clock/Digital Clock/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Digital Clock/Digital Clock/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d8a0fb8 Binary files /dev/null and b/Digital Clock/Digital Clock/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.CopyComplete b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.CoreCompileInputs.cache b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..8fe1aca --- /dev/null +++ b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +870c806517dd2ff12b22298e267fcd0b2088837f diff --git a/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.FileListAbsolute.txt b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..7ea1de5 --- /dev/null +++ b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\bin\Debug\Digital Clock.exe.config +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\bin\Debug\Digital Clock.exe +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\bin\Debug\Digital Clock.pdb +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\bin\Debug\CircularProgressBar.dll +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\bin\Debug\WinFormAnimation.dll +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\bin\Debug\CircularProgressBar.xml +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\obj\Debug\Digital Clock.csprojAssemblyReference.cache +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\obj\Debug\Digital_Clock.Form1.resources +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\obj\Debug\Digital_Clock.Properties.Resources.resources +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\obj\Debug\Digital Clock.csproj.GenerateResource.cache +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\obj\Debug\Digital Clock.csproj.CoreCompileInputs.cache +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\obj\Debug\Digital Clock.csproj.CopyComplete +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\obj\Debug\Digital Clock.exe +C:\Users\mouss\Desktop\Digital Clock\Digital Clock\obj\Debug\Digital Clock.pdb diff --git a/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.GenerateResource.cache b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.GenerateResource.cache new file mode 100644 index 0000000..6d97750 Binary files /dev/null and b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csproj.GenerateResource.cache differ diff --git a/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csprojAssemblyReference.cache b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csprojAssemblyReference.cache new file mode 100644 index 0000000..01ff37a Binary files /dev/null and b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.csprojAssemblyReference.cache differ diff --git a/Digital Clock/Digital Clock/obj/Debug/Digital Clock.exe b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.exe new file mode 100644 index 0000000..a3c11ce Binary files /dev/null and b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.exe differ diff --git a/Digital Clock/Digital Clock/obj/Debug/Digital Clock.pdb b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.pdb new file mode 100644 index 0000000..b9c208c Binary files /dev/null and b/Digital Clock/Digital Clock/obj/Debug/Digital Clock.pdb differ diff --git a/Digital Clock/Digital Clock/obj/Debug/Digital_Clock.Form1.resources b/Digital Clock/Digital Clock/obj/Debug/Digital_Clock.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Digital Clock/Digital Clock/obj/Debug/Digital_Clock.Form1.resources differ diff --git a/Digital Clock/Digital Clock/obj/Debug/Digital_Clock.Properties.Resources.resources b/Digital Clock/Digital Clock/obj/Debug/Digital_Clock.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Digital Clock/Digital Clock/obj/Debug/Digital_Clock.Properties.Resources.resources differ diff --git a/Digital Clock/Digital Clock/packages.config b/Digital Clock/Digital Clock/packages.config new file mode 100644 index 0000000..d0c4042 --- /dev/null +++ b/Digital Clock/Digital Clock/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/Digital Clock/packages/CircularProgressBar.2.8.0.16/.signature.p7s b/Digital Clock/packages/CircularProgressBar.2.8.0.16/.signature.p7s new file mode 100644 index 0000000..4a411be Binary files /dev/null and b/Digital Clock/packages/CircularProgressBar.2.8.0.16/.signature.p7s differ diff --git a/Digital Clock/packages/CircularProgressBar.2.8.0.16/CircularProgressBar.2.8.0.16.nupkg b/Digital Clock/packages/CircularProgressBar.2.8.0.16/CircularProgressBar.2.8.0.16.nupkg new file mode 100644 index 0000000..6f1da22 Binary files /dev/null and b/Digital Clock/packages/CircularProgressBar.2.8.0.16/CircularProgressBar.2.8.0.16.nupkg differ diff --git a/Digital Clock/packages/CircularProgressBar.2.8.0.16/Icon.png b/Digital Clock/packages/CircularProgressBar.2.8.0.16/Icon.png new file mode 100644 index 0000000..a1d39a2 Binary files /dev/null and b/Digital Clock/packages/CircularProgressBar.2.8.0.16/Icon.png differ diff --git a/Digital Clock/packages/CircularProgressBar.2.8.0.16/lib/net40/CircularProgressBar.dll b/Digital Clock/packages/CircularProgressBar.2.8.0.16/lib/net40/CircularProgressBar.dll new file mode 100644 index 0000000..0d91130 Binary files /dev/null and b/Digital Clock/packages/CircularProgressBar.2.8.0.16/lib/net40/CircularProgressBar.dll differ diff --git a/Digital Clock/packages/CircularProgressBar.2.8.0.16/lib/net40/CircularProgressBar.xml b/Digital Clock/packages/CircularProgressBar.2.8.0.16/lib/net40/CircularProgressBar.xml new file mode 100644 index 0000000..331da79 --- /dev/null +++ b/Digital Clock/packages/CircularProgressBar.2.8.0.16/lib/net40/CircularProgressBar.xml @@ -0,0 +1,172 @@ + + + + CircularProgressBar + + + + + The circular progress bar windows form control + + + + + Initializes a new instance of the class. + + + + + Sets a known animation function. + + + + + Gets or sets the animation speed in milliseconds. + + + + + Sets a custom animation function. + + + + + Gets or sets the font of text in the . + + + The of the text. The default is the font set by the container. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets or sets the text in the . + + + + + + + + + + + + Raises the event. + + A that contains the event data. + + + + + + + + + + + + + + + + Initialize the animation for the continues styling + + True if it is the first execution of this function, otherwise false + + + + Initialize the animation for the marquee styling + + True if it is the first execution of this function, otherwise false + + + + Occurs when parent's display requires redrawing. + + + + + + + Occurs when the parent resized. + + + + + + + Update or create the brush used for drawing the background + + + + + The function responsible for painting the control + + The object to draw into + + + diff --git a/Digital Clock/packages/CircularProgressBar.2.8.0.16/lib/net40/WinFormAnimation.dll b/Digital Clock/packages/CircularProgressBar.2.8.0.16/lib/net40/WinFormAnimation.dll new file mode 100644 index 0000000..e2655ee Binary files /dev/null and b/Digital Clock/packages/CircularProgressBar.2.8.0.16/lib/net40/WinFormAnimation.dll differ diff --git a/Digital Clock/packages/CircularProgressBar.2.8.0.16/readme.txt b/Digital Clock/packages/CircularProgressBar.2.8.0.16/readme.txt new file mode 100644 index 0000000..1e9081c --- /dev/null +++ b/Digital Clock/packages/CircularProgressBar.2.8.0.16/readme.txt @@ -0,0 +1,24 @@ + Circular Progress Bar + Circular ProgressBar is a custom control for WinForm with animation + +===================================================================== + +USAGE + First, build your application, and then use the toolbox to add the + control to your forms. + If the control was still absent, add it manually from the + 'packages' directory in your solution's root path. + +KNOWN ISSUE WITH VISUAL STUDIO TOOLBOX + If you couldn't find this control in the toolbox and you failed to + add it from the NuGet package directly, try using the copies of the + library in your project's `Debug` or `Release` directories. + + The problem with the toolbox is that it is part of the Visual + Studio and not your project, and as the result, it can't resolve + some dependencies, although they are already part of your project. + + In this case, Visual Studio Toolbox needs 'WinFormAnimation.dll' + library next to the 'CircularProgressBar.dll' library to let you + use it. However, you can always write the code manually and bypass + the use of toolbox altogether. \ No newline at end of file diff --git a/Digital Clock/packages/WinFormAnimation.1.6.0.4/.signature.p7s b/Digital Clock/packages/WinFormAnimation.1.6.0.4/.signature.p7s new file mode 100644 index 0000000..e590fc2 Binary files /dev/null and b/Digital Clock/packages/WinFormAnimation.1.6.0.4/.signature.p7s differ diff --git a/Digital Clock/packages/WinFormAnimation.1.6.0.4/Icon.png b/Digital Clock/packages/WinFormAnimation.1.6.0.4/Icon.png new file mode 100644 index 0000000..32e8130 Binary files /dev/null and b/Digital Clock/packages/WinFormAnimation.1.6.0.4/Icon.png differ diff --git a/Digital Clock/packages/WinFormAnimation.1.6.0.4/WinFormAnimation.1.6.0.4.nupkg b/Digital Clock/packages/WinFormAnimation.1.6.0.4/WinFormAnimation.1.6.0.4.nupkg new file mode 100644 index 0000000..4aac693 Binary files /dev/null and b/Digital Clock/packages/WinFormAnimation.1.6.0.4/WinFormAnimation.1.6.0.4.nupkg differ diff --git a/Digital Clock/packages/WinFormAnimation.1.6.0.4/lib/net40/WinFormAnimation.dll b/Digital Clock/packages/WinFormAnimation.1.6.0.4/lib/net40/WinFormAnimation.dll new file mode 100644 index 0000000..e2655ee Binary files /dev/null and b/Digital Clock/packages/WinFormAnimation.1.6.0.4/lib/net40/WinFormAnimation.dll differ diff --git a/Digital Clock/packages/WinFormAnimation.1.6.0.4/readme.txt b/Digital Clock/packages/WinFormAnimation.1.6.0.4/readme.txt new file mode 100644 index 0000000..78ff5c1 --- /dev/null +++ b/Digital Clock/packages/WinFormAnimation.1.6.0.4/readme.txt @@ -0,0 +1,33 @@ + WinForm Animation Library + A simple library for animating controls/values in .Net + WinForm (.Net 3.5 and later). + +========================================================================= + +USAGE + Use the three 'Animator', 'Animator2D' and 'Animator3D' classes to + start an animation. + +SAMPLE ON ONE DIMENSIONAL ANIMATION OF A PROPERTY + new Animator(new Path(0, 100, 5000)) + .Play(pb_progress, Animator.KnownProperties.Value); + +SAMPLE ON TWO DIMENSIONAL ANIMATION OF A PROPERTY + new Animator2D( + new Path2D(0, 100, -100, 200, 5000) + .ContinueTo(this.Location.ToFloat2D(), 2000, 3000)) + .Play(this, Animator2D.KnownProperties.Location); + +SAMPLE ON THREE DIMENSIONAL ANIMATION OF A PROPERTY + new Animator3D( + new Path3D( + Color.Blue.ToFloat3D(), + Color.Red.ToFloat3D(), + 2000, 1000, + AnimationFunctions.CubicEaseIn), + FPSLimiterKnownValues.LimitTen) + .Play(c_customLabel, "CustomColor"); + +MORE SAMPLES: + Check the Project's Github page at: + https://github.com/falahati/WinFormAnimation \ No newline at end of file