Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[C#]Help with my code

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Chidori
Grandmaster Cheater
Reputation: 1

Joined: 25 Apr 2008
Posts: 691
Location: Canada

PostPosted: Mon Feb 23, 2009 8:14 pm    Post subject: [C#]Help with my code Reply with quote

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 Test
{
public partial class f_main : Form
{
public f_main()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{

}

private void b_hello_Click(object sender, EventArgs e)
{
MessageBox.Show{"Hello World! you clicked on my button!","Info",MessageBoxButtons.OK, MessageBoxIcon.Information};
}

errors:Error 1 ; expected C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 28 Test
Error 2 Invalid expression term ',' C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 69 Test
Error 3 ; expected C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 69 Test
Error 4 ; expected C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 70 Test
Error 5 Invalid expression term ',' C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 76 Test
Error 6 ; expected C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 76 Test
Error 7 ; expected C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 77 Test
Error 8 Invalid expression term ',' C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 97 Test
Error 9 ; expected C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 97 Test
Error 10 ; expected C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 99 Test
Error 11 ; expected C:\Documents and Settings\Gino\Local Settings\Application Data\Temporary Projects\Test\Form1.cs 26 125 Test

bold is where it shows the red underlines
Back to top
View user's profile Send private message AIM Address MSN Messenger
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Mon Feb 23, 2009 8:36 pm    Post subject: Reply with quote

MessageBox.Show("Hello World! you clicked on my button!","Info",MessageBoxButtons.OK, MessageBoxIcon.Information);
Back to top
View user's profile Send private message
Chidori
Grandmaster Cheater
Reputation: 1

Joined: 25 Apr 2008
Posts: 691
Location: Canada

PostPosted: Mon Feb 23, 2009 8:45 pm    Post subject: Reply with quote

dnsi0 wrote:
MessageBox.Show("Hello World! you clicked on my button!","Info",MessageBoxButtons.OK, MessageBoxIcon.Information);
THANK YOU MAN! what did you do explain
Back to top
View user's profile Send private message AIM Address MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Feb 23, 2009 8:50 pm    Post subject: Reply with quote

{ is not (
Back to top
View user's profile Send private message
Chidori
Grandmaster Cheater
Reputation: 1

Joined: 25 Apr 2008
Posts: 691
Location: Canada

PostPosted: Mon Feb 23, 2009 8:56 pm    Post subject: Reply with quote

slovach wrote:
{ is not (
he told me to put a bracket
Back to top
View user's profile Send private message AIM Address MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Feb 23, 2009 9:14 pm    Post subject: Reply with quote

Chidori wrote:
slovach wrote:
{ is not (
he told me to put a bracket


"he" was wrong

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites