• 大小: 25.89M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 打地鼠  

资源简介

基本实现打地鼠基础功能  适合初学者

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;







namespace WindowsFormsApplication3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            axWindowsMediaPlayer1.settings.setMode(“loop“ true);
        }
        int n = 0;
        int x = 45;
        int y = 10;
        int cj = 0;

        private void Form1_Load(object sender EventArgs e)
        {

            axWindowsMediaPlayer1.URL = “123.mp3“;
            textBox1.Text = Convert.ToString(n);

        }


        private void timer1_Tick(object sender EventArgs e)
        {
         

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-01-19 13:13  WindowsFormsApplication3\
     目录           0  2018-01-19 13:13  WindowsFormsApplication3\WindowsFormsApplication3\
     文件         914  2017-12-29 18:19  WindowsFormsApplication3\WindowsFormsApplication3.sln
     文件       29696  2018-01-19 13:46  WindowsFormsApplication3\WindowsFormsApplication3.suo
     目录           0  2018-01-19 13:13  WindowsFormsApplication3\WindowsFormsApplication3\bin\
     文件        4286  2018-01-16 17:13  WindowsFormsApplication3\WindowsFormsApplication3\bin\bitbug_favicon.ico
     目录           0  2018-01-19 13:44  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\
     文件        2666  2018-01-19 13:43  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\1.cur
     文件    13357153  2018-01-16 14:35  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\123.mp3
     文件        2666  2018-01-19 13:43  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\2.cur
     文件       25701  2017-12-23 00:39  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\567.jpg
     文件     7596569  2018-01-19 09:08  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\666.mp3
     文件       30044  2018-01-16 15:48  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\831.wav
     文件       42562  2018-01-18 15:30  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\999.cur
     文件       53760  2018-01-18 16:45  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\AxInterop.WMPLib.dll
     文件      330752  2018-01-19 13:13  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\Interop.WMPLib.dll
     文件     1519616  2018-01-19 13:45  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\打地鼠.exe
     文件       69120  2018-01-19 13:45  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\打地鼠.pdb
     文件       11600  2018-01-19 13:46  WindowsFormsApplication3\WindowsFormsApplication3\bin\Debug\打地鼠.vshost.exe
     目录           0  2018-01-19 13:13  WindowsFormsApplication3\WindowsFormsApplication3\bin\Release\
     文件        4286  2018-01-16 17:17  WindowsFormsApplication3\WindowsFormsApplication3\bitbug_favicon.ico
     文件       20872  2018-01-19 13:45  WindowsFormsApplication3\WindowsFormsApplication3\Form1.cs
     文件       52446  2018-01-19 09:15  WindowsFormsApplication3\WindowsFormsApplication3\Form1.Designer.cs
     文件     2221947  2018-01-19 09:15  WindowsFormsApplication3\WindowsFormsApplication3\Form1.resx
     文件         589  2018-01-18 16:22  WindowsFormsApplication3\WindowsFormsApplication3\Form2.cs
     文件        3318  2018-01-16 17:14  WindowsFormsApplication3\WindowsFormsApplication3\Form2.Designer.cs
     文件       12549  2018-01-16 17:14  WindowsFormsApplication3\WindowsFormsApplication3\Form2.resx
     文件         374  2018-01-19 09:15  WindowsFormsApplication3\WindowsFormsApplication3\Form3.cs
     文件        3047  2018-01-19 09:15  WindowsFormsApplication3\WindowsFormsApplication3\Form3.Designer.cs
     文件        5817  2018-01-19 09:15  WindowsFormsApplication3\WindowsFormsApplication3\Form3.resx
     目录           0  2018-01-19 13:13  WindowsFormsApplication3\WindowsFormsApplication3\obj\
............此处省略25个文件信息

评论

共有 条评论