登录
首页 » C# » C# 磁性窗体的设计示例

C# 磁性窗体的设计示例

于 2015-01-08 发布
0 257
下载积分: 1 下载次数: 0

代码说明:

C# 磁性窗体的设计示例

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • EXCEL导入、导出、存储过程运算工具 例子
    DataPie可以实现SQL server 2008、ORACLE与ACCESS 2007数据库的导入、导出、存储过程计算。支持EXCEL2007、EXCEL2003、ACCESS2007、CSV文件导入数据库,支持CSV文件转EXCEL文件,支持大数据量表通过多个EXCEL工作簿导出。
    2013-08-05下载
    积分:1
  • 用WinForm写的简单记事本
        实现了记事本基本的功能, 供大家学习
    2014-11-21下载
    积分:1
  • EF Code First简介及一个入门级实例
    一、EF Code First简介 EntityFramework 代码优先   二、EF Code First第一个简单实例 1、开发环境及数据库说明 开发环境:Visual Studio 2010 Ultimate sp1 Sql Server 2008 R2 数据库:Northwind 2、实例代码结构 结构说明: App:控制台应用程序 Data:数据访问 Domain:实体类 3、安装Entity Framework   在Visual Studio编辑器中点击Tools -> Library Package Manager -> Package Manager Console,在Package Manager Console窗口中执行下面语句,安装最新版Entity Framework。 PM> Install-Package EntityFramework   App层和Data层分别添加对EntityFramework的引用:     在App层安装EntityFramework之后,将自动添加App.config和packages.config文件。   App.config配置Entity Framework版本信息及数据库连接信息,修改其中数据连接信息以适应本地实际环境。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15   packages.config现实当前项目使用的package: 1 2 3 4 4、实例代码 Domain中Category.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Northwind.Domain.Entities 7 { 8 public class Category 9 { 10 /// 11      /// 分类ID 12      /// 13 public int CategoryID { get; set; } 14 15 /// 16      /// 分类名称 17      /// 18 public string CategoryName { get; set; } 19 } 20 } Data中NorthwindContext.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 using System.Data.Entity; 7 8 using Northwind.Domain.Entities; 9 10 namespace Northwind.Data 11 { 12 public class NorthwindContext : DbContext 13 { 14 public DbSet Categories { get; set; } 15 } 16 } App中Program.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 using Northwind.Data; 7 using Northwind.Domain.Entities; 8 9 namespace Northwind.App 10 { 11 class Program 12 { 13 static void Main(string[] args) 14 { 15 Category c = new Category() { CategoryName = "电子数码" }; 16 17 using (NorthwindContext db = new NorthwindContext()) 18 { 19 db.Categories.Add(c); 20 db.SaveChanges(); 21 } 22 23 Console.WriteLine("Finish"); 24 Console.ReadKey(); 25 } 26 } 27 } 5、运行说明   由于在上面的数据库连接字符串中并未包含指定的数据库名称,运行成功之后,将在本地数据引擎中创建如下数据库和表:   数据库名称:Northwind.Data.NorthwindContext   表名称:Categories 6、示例代码附件
    2014-04-22下载
    积分:1
  • zpl打印程序 例子源码下载(ZPLPrinter)
    ZPLPrinter 打印例子
    2014-10-22下载
    积分:1
  • c# 调用大漠源码
    xDM c# 使用大漠插件. 完成 类似 按键精灵的 功能. 方法 注释 正在慢慢的 完善中 仓库githubhttps://github.com/xxxxue/xDM码云https://gitee.com/xxxxue/xDM/tree/dev准备 运行需要 .NET Framework 4.7.2 或者 手动把 类库框架版本改为 自己有的版本 效果图如何运行1. 注册 大漠dll 到com (资源在 源码的 DLL 文件夹中)2. 成功 提示3. 验证是否注册成功 (列表中存在即可,不需要引用到项目中)4.在 Visual Studio 中运行项目 查看结果 使用免费版 或者 填写 注册码 后 再运行
    2020-03-02下载
    积分:1
  • C# 简单模拟下载功能以及ping 实例源码下载
    C# 简单模拟下载功能以及ping 实例源码下载
    2014-06-21下载
    积分:1
  • Asp.net MVC - 使用PRG模式 解决放刷新问题(附源码)
    Asp.net MVC - 使用PRG模式 解决放刷新问题(附源码)
    2014-07-06下载
    积分:1
  • stm32基础教程(嵌入式开发入门教程)
    stm32基础教程(嵌入式开发入门教程)
    2019-11-20下载
    积分:1
  • XML学习
     public Turntable()        {            InitializeComponent();            int angle = 5029;            for (int i = 0; i < 16; i )            {                angle = 22;                _ListAngle.Add(angle);            }        }        ///         /// 保存八个角度        ///         List _ListAngle = new List();        ///         /// 产生随机数        ///         Random _Random = new Random();        int _Index = 0;        int _OldAngle = 0;        private void btnStartTurntable_Click(object sender, RoutedEventArgs e)        {            btnStartTurntable.IsEnabled = false;            _Index = _Random.Next(0, 16);            //_Index = 2;            Storyboard sb = (Storyboard)this.FindResource("zhuandong");            sb.Completed -= this.sb_Completed;            sb.Completed = new EventHandler(sb_Completed);            ((SplineDoubleKeyFrame)((DoubleAnimationUsingKeyFrames)sb.Children[0]).KeyFrames[0]).Value = _OldAngle;            ((SplineDoubleKeyFrame)((DoubleAnimationUsingKeyFrames)sb.Children[0]).KeyFrames[3]).Value = _ListAngle[_Index];            //((SplineDoubleKeyFrame)((DoubleAnimationUsingKeyFrames)sb.Children[0]).KeyFrames[3]).Value = 5218;            sb.Begin();        }        void sb_Completed(object sender, EventArgs e)        {            DispatcherTimer dt = new DispatcherTimer();            dt.Interval = TimeSpan.FromSeconds(0.3);            dt.Tick = delegate             {                dt.Stop();                _OldAngle = (_ListAngle[_Index] % 360);                btnStartTurntable.IsEnabled = true;                AwardProcess(GetAward(_ListAngle[_Index]));            };            dt.Start();        }        public delegate void AwardDelegate(Award award);        ///         /// 返回转到的奖项信息        ///         public event AwardDelegate AwardProcess;        private Award GetAward(int angle)        {
    2014-08-01下载
    积分:1
  • C语言入门教程.pdf(共434页)
    【实例简介】基础课程
    2021-06-09 00:32:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载