Form1.cs

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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;
using System.Threading;
//Download by http://www.codefans.net
namespace farm
{
    public partial class Form1 : Form
    {//下载于www.51aspx.com
        public Form1()
        {
            InitializeComponent();
        }
        private int intAmount;
        private picture1 picseed;

        private void picseed__MouseEnter(object sender, EventArgs e)
        {
            this.pictureBoxseminate.Image = farm.Properties.Resources.播种1;
        }

        private void picseed__MouseLeave(object sender, EventArgs e)
        {
            this.pictureBoxseminate.Image = farm.Properties.Resources.播种;
        }

        private void pictureboxgin_MouseEnter(object sender, EventArgs e)
        {
            this.pictureBoxgin.Image = farm.Properties.Resources.收获1;
        }

        private void pictureboxgin_MouseLeave(object sender, EventArgs e)
        {
            this.pictureBoxgin.Image = farm.Properties.Resources.收获;
        }
        private void pictureBoxseminate_Click(object sender, EventArgs e)
        {
            this.picseed = new picture1();
            this.picseed.Plantsate = PlantState.bozhong;
            this.picseed.BackColor = System.Drawing.Color.Transparent;
            this.picseed.BackgroundImageLayout = ImageLayout.Stretch;
            this.picseed.Image = farm.Properties.Resources.seed2;
            this.picseed.Size = new System.Drawing.Size(farm.Properties.Resources.seed2.Width,
                                                        farm.Properties.Resources.seed2.Height);
            this.picseed.Location = new System.Drawing.Point(this.pictureBoxseminate.Location.X-50,
                                                             this.pictureBoxseminate.Location.Y-80);
            this.picseed.TabStop = true;
            this.picseed.Boolseminate = false;
            this.picseed.Plantsate = PlantState.bozhong;
            this.picseed.Click += new System.EventHandler(this.picseed_Click);
            this.Controls.Add(this.picseed);
        }

        private void picseed_Click(object sender, EventArgs e)
        {//下载于www.51aspx.com
后面还有 75 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。