General lottery program developed by Delphi
no vote
Due to the convenience of lucky draw, the font is specially set larger, which can be seen clearly through the iPad or the remote control software on the mobile phone. During the lucky draw, the notebook is connected to the display screen, and the notebook is controlled remotely by the iPad. Then, take the iPad to the guests and ask them to operate the lucky draw. Set the award named awards.txt The name of an award is one line, and there are multiple awards and multiple lines. There must be several lines for a total of several awards. The lottery number is named data.txt One line, one number, a total of several numbers on a few lines, use enter to change lines. The background music of the lottery is named bg.mp3 In the same directory of the program, it must be MP3 file. The first step is to prepare the award documents awarda.txt , placed in the program directory, open the software will automatically import; after the software is opened, adjust the size of the window to satisfaction; first load the lottery number, and then select awards, these two steps can be operated at will, after the completion of the next step, the software can only load the lottery number once; set the number to draw Quantity, click to start the lottery, the software starts to run, the start lottery button is grayed out and can not be used, and the stop button can be used at the same time. Pressing the stop button at any time will generate the set number of winning numbers. When you want to replace a new prize, you will be prompted whether to clear the memory value of the lottery number. Generally, you choose to clear it, otherwise the memory value of the next lottery number will be inaccurate. The winning number takes the prize name as the file name, for example, the first prize file is the first prize.txt; before the first lottery, there must be no file with the same name, otherwise it is easy to make mistakes. After each lucky draw, the winning numbers will data.txt Delete, please keep the original file, has started the lottery, can not change the file, otherwise there will be repeated numbers and other issues.