C# Main entry point error, need guidance
Hey im Zara and im new to coding. I am making a program in C# Windows Form Application on Microsoft visual C# 2010,  but cannot figure out 2 errors regarding Main entry points! I have tried everything!!

The code for click buttons is relatively easy and will be done later but these errors are making me scratch my head!

Can you guys help plz!! (^_^)

This is the question paper:

[img]http://i40.tinypic.com/v5g8zb.jpg[/img]

Here is my code, please help guys i am stumped! And gotta submit it in 24 hours ='(

    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 DiceGame
    {
    /// <summary>
    /// Summary description for FormAddControls.
    /// </summary>
    public class FormDiceGame : System.Windows.Forms.Form
    {
       
        private System.Windows.Forms.Button button1;
       
        private System.Windows.Forms.Button button2;
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.Container components = null;

        public FormDiceGame()
        {
            
            InitializeComponent();

            
            return;
        }

        
        

        #region Windows Form Designer generated code
      
        private void InitializeComponent()
        {
           
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
           
            this.SuspendLayout();
            
           
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(48, 240);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(80, 24);
            this.button1.TabIndex = 2;
            this.button1.Text = "Roll Dice P1";
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //this.button1.MouseEnter += new                   System.EventHandler(this.Buttons_OnMouseEnter);
            //this.button1.MouseLeave += new System.EventHandler(this.Buttons_OnMouseLeave);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(160, 240);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(96, 24);
            this.button2.TabIndex = 3;
            this.button2.Text = "Roll Dice P2";
            this.button2.Click += new System.EventHandler(this.button2_Click);
            //this.button2.MouseEnter += new System.EventHandler(this.Buttons_OnMouseEnter);
            //this.button2.MouseLeave += new System.EventHandler(this.Buttons_OnMouseLeave);
            // 
           
            // FormDiceGame
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(292, 273);
            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                      this.button2,
                                      this.button1});
            this.Name = "FormDiceGame";
            this.Text = "Dice Game";
            this.ResumeLayout(false);

        }
        #endregion

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.Run(new FormDiceGame());
        }

        private void button1_Click(object sender, System.EventArgs e)
        {

            
            MessageBox.Show("Check - fff");
            return;
        }

        private void button2_Click(object sender, System.EventArgs e)
        {
            Application.Exit();
        }

     }
    }


Help guys!
C# Main entry point error, need guidance
===

Hey im Zara and im new to coding. I am making a program in C# Windows Form Application on Microsoft visual C# 2010,  but cannot figure out 2 errors regarding Main entry points! I have tried everything!!

The code for click buttons is relatively easy and will be done later but these errors are making me scratch my head!

Can you guys help plz!! (^_^)

This is the question paper:

[img]http://i40.tinypic.com/v5g8zb.jpg[/img]

Here is my code, please help guys i am stumped! And gotta submit it in 24 hours ='(

    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 DiceGame
    {
    /// <summary>
    /// Summary description for FormAddControls.
    /// </summary>
    public class FormDiceGame : System.Windows.Forms.Form
    {
       
        private System.Windows.Forms.Button button1;
       
        private System.Windows.Forms.Button button2;
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.Container components = null;

        public FormDiceGame()
        {
            
            InitializeComponent();

            
            return;
        }

        
        

        #region Windows Form Designer generated code
      
        private void InitializeComponent()
        {
           
            this.button1 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
           
            this.SuspendLayout();
            
           
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(48, 240);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(80, 24);
            this.button1.TabIndex = 2;
            this.button1.Text = "Roll Dice P1";
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //this.button1.MouseEnter += new                   System.EventHandler(this.Buttons_OnMouseEnter);
            //this.button1.MouseLeave += new System.EventHandler(this.Buttons_OnMouseLeave);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(160, 240);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(96, 24);
            this.button2.TabIndex = 3;
            this.button2.Text = "Roll Dice P2";
            this.button2.Click += new System.EventHandler(this.button2_Click);
            //this.button2.MouseEnter += new System.EventHandler(this.Buttons_OnMouseEnter);
            //this.button2.MouseLeave += new System.EventHandler(this.Buttons_OnMouseLeave);
            // 
           
            // FormDiceGame
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(292, 273);
            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                      this.button2,
                                      this.button1});
            this.Name = "FormDiceGame";
            this.Text = "Dice Game";
            this.ResumeLayout(false);

        }
        #endregion

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.Run(new FormDiceGame());
        }

        private void button1_Click(object sender, System.EventArgs e)
        {

            
            MessageBox.Show("Check - fff");
            return;
        }

        private void button2_Click(object sender, System.EventArgs e)
        {
            Application.Exit();
        }

     }
    }


Help guys!