资源简介
控件形式封装,可直接拖动,自适应尺寸,内含Demo。
因笔者审美缘故,有些地方可能不太协调,请手动调整源码内常量。
新手上路,轻喷,欢迎大神指教……

代码片段和文件信息
// --------------------------------------------------------------------------------------------------------------------
// ┏┓ ┏┓
// ┏┛┻━━━┛┻┓
// ┃ ┃
// ┃ ━ ┃
// ┃ ┳┛ ┗┳ ┃
// ┃ ┃
// ┃ ┻ ┃
// ┃ ┃
// ┗━┓ ┏━┛
// ┃ ┃ 神兽保佑
// ┃ ┃ 代码无BUG!
// ┃ ┗━━━┓
// ┃ ┣┓
// ┃ ┏┛
// ┗┓┓┏━┳┓┏┛
// ┃┫┫ ┃┫┫
// ┗┻┛ ┗┻┛
//
// Copyirght: Copyright (C) 2014 - Coffee Software All rights reserved
// Solution: MetroLoading
// Project: MetroLoading
// File: Common.cs
// Author: MuXiang
// CreateDate: 2014-06-01 8:47
// ModifyDate: 2014-06-16 13:14
// --------------------------------------------------------------------------------------------------------------------
using System;
using System.Drawing;
namespace LoadingCircle
{
public static class Common
{
///
/// 根据半径、角度求圆上坐标
///
/// 圆心
/// 半径
/// 角度
/// 坐标
public static PointF GetDotLocationByAngle(PointF center float radius int angle)
{
var x = (float)(center.X + radius * Math.Cos(angle * Math.PI / 180));
var y = (float)(center.Y + radius * Math.Sin(angle * Math.PI / 180));
return new PointF(x y);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 10240 2014-06-17 14:46 MetroLoading\LoadingCircle\bin\Release\LoadingCircle.dll
文件 26112 2014-06-17 14:46 MetroLoading\LoadingCircle\bin\Release\LoadingCircle.pdb
文件 1817 2014-06-16 17:01 MetroLoading\LoadingCircle\Common.cs
文件 6346 2014-06-17 14:46 MetroLoading\LoadingCircle\Dot.cs
文件 7556 2014-06-17 14:46 MetroLoading\LoadingCircle\LoadingCircle.cs
文件 3115 2014-06-17 11:52 MetroLoading\LoadingCircle\LoadingCircle.csproj
文件 1355 2014-06-16 17:26 MetroLoading\LoadingCircle\LoadingCircle.Designer.cs
文件 5817 2014-06-17 11:51 MetroLoading\LoadingCircle\LoadingCircle.resx
文件 235 2014-06-17 11:52 MetroLoading\LoadingCircle\LoadingCircleIcon.png
文件 6636 2014-06-16 13:56 MetroLoading\LoadingCircle\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 1312 2014-06-17 11:13 MetroLoading\LoadingCircle\obj\Release\DesignTimeResolveAssemblyReferences.cache
文件 6640 2014-06-17 11:52 MetroLoading\LoadingCircle\obj\Release\DesignTimeResolveAssemblyReferencesInput.cache
文件 625 2014-06-17 13:12 MetroLoading\LoadingCircle\obj\Release\LoadingCircle.csproj.FileListAbsolute.txt
文件 912 2014-06-17 11:52 MetroLoading\LoadingCircle\obj\Release\LoadingCircle.csproj.GenerateResource.Cache
文件 2059 2014-06-17 13:12 MetroLoading\LoadingCircle\obj\Release\LoadingCircle.csprojResolveAssemblyReference.cache
文件 10240 2014-06-17 14:46 MetroLoading\LoadingCircle\obj\Release\LoadingCircle.dll
文件 180 2014-06-17 11:52 MetroLoading\LoadingCircle\obj\Release\LoadingCircle.LoadingCircle.resources
文件 26112 2014-06-17 14:46 MetroLoading\LoadingCircle\obj\Release\LoadingCircle.pdb
文件 1310 2014-06-16 14:19 MetroLoading\LoadingCircle\Properties\AssemblyInfo.cs
文件 175 2014-06-17 14:46 MetroLoading\MetroLoading\App.config
文件 13312 2014-06-01 02:06 MetroLoading\MetroLoading\bin\Debug\MetroLoading.exe
文件 187 2013-03-27 20:40 MetroLoading\MetroLoading\bin\Debug\MetroLoading.exe.config
文件 34304 2014-06-01 02:06 MetroLoading\MetroLoading\bin\Debug\MetroLoading.pdb
文件 24224 2014-06-01 02:06 MetroLoading\MetroLoading\bin\Debug\MetroLoading.vshost.exe
文件 187 2013-03-27 20:40 MetroLoading\MetroLoading\bin\Debug\MetroLoading.vshost.exe.config
文件 10240 2014-06-17 14:46 MetroLoading\MetroLoading\bin\Release\LoadingCircle.dll
文件 26112 2014-06-17 14:46 MetroLoading\MetroLoading\bin\Release\LoadingCircle.pdb
文件 9216 2014-06-17 14:46 MetroLoading\MetroLoading\bin\Release\MetroLoading.exe
文件 175 2014-06-17 14:46 MetroLoading\MetroLoading\bin\Release\MetroLoading.exe.config
文件 24064 2014-06-17 14:46 MetroLoading\MetroLoading\bin\Release\MetroLoading.pdb
............此处省略65个文件信息
- 上一篇:数据压缩算法的实现代码可运行
- 下一篇:仿微信6.1主界面
相关资源
- CuteFTP8.0绿色破解版免安装无需序列号
- epson 2020黑白激光打印机驱动 win7/win
- Bushound 6.1
- Analytical behaviour of concrete-encased CFST
- 飞思卡尔68HC08Metrowerks_CodeWarrior开发软
- 华硕PCE-AC66无线网卡驱动 v6.30.95.19 f
- Prolific usb-to-serial comm port 驱动 for wi
- 用驱动精灵提取的pl2303驱动,win7win
- ASUS华硕K43SD笔记本USB3.0驱动程序 v1.
- Star Rat 3.1远控源码[支持XP20002003 win7
- win8\\win2012 \\win2012R2 x64 G41显卡驱动
- zlib1.dll 支持WinXP Win7 Win8 Win10
- Dynamic Performance Study on the Rubber Isolat
- 得实ds980打印机驱动 官方版_支持win
- 一种可自动识别WIN8系统USB设备的设计
- gif loading 透明背景
- 50个Loading动态图
- 2013万能网卡驱动支持win8/7 xp 2003等
- 非常好看的Metro风格留言板源码,(亲
- TMACv6.0.7_Setup MAC地址修改工具xp Win7
- 加载中gif图片-透明loading.rar
- r for mcmc
- (支持Windows8/8.1)(32位/64位)PL230
- spy4win8经测试完美支持win8系统
- win各系列系统实现多用户同时登陆方
- OllyDBG_1.10 xp visit win7 win8均可使用的版
- darwin8.5.8.iso
- MetroPro Reference Guide
- MASM、DOSBox等等WIN10-WIN8-WIN7上使用汇编
- CP210X,CP2102 USB转串口驱动,win7 win8
评论
共有 条评论