Git Product home page Git Product logo

lottery's Introduction

Lottery

C#抽奖程序,主要用于公司年会时的抽奖活动,共分两个版本(1.文字版 2.头像版)这里是文字版,具有如下功能:

开发环境:VS2010 +.Net Framework4.0

  1. 可自定义人员,初始化奖池
  2. 验证抽奖名单是否有重复,防止有人重复添加以提高中奖概率
  3. 奖金等级分为特等奖、一等奖、二等奖、三等奖、纪念奖等
  4. 点击抽奖后名单快速循环、双方向滚动
  5. 可以调整滚动速度


效果如下:
image

动态演示效果:
image

使用方法:

下载后在bin\Release目录下有Lottery.exe可执行文件和人员名单.txt
在人员名单.txt中增加人员姓名,每个姓名占一行

主要代码约300行,可以很快学会,如果喜欢就star一下吧(^__^)

lottery's People

Contributors

mkigo avatar

Watchers

James Cloos avatar

Forkers

kevincn88

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.