Results 1 to 15 of 15
  1. #1
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,537
    My Mood
    Angelic

    Red face C# Book Snippet (Jorndels C# Book)

    Well, since some people prefer text instead of video. I decided to make this tutorial to see if my C# Book. (Writing it) Will be understand able

    First of all we need to start, you need to install: Visual C# Express 2010
    This is a free ware, so after 30 days you just register and you have it

    Now, install it and we will be ready to start



    Let's create a New Project:

    Now we will create an Windows Application Form


    Now we will look on some basic stuff.



    First of all we will have a look at the ToolBox and the Properties.

     


    What we will use most is the stuff in the: Common Controls
    Let's expend it and look what we will use...

    (I might have some more or less in it, but mainly we have the same)

    Okey, now lets Drag & Drop a Button from the ToolBox onto our Form1.


    Now, we can re-size it by dragging the white squares on the ends or sides of the button.

    Now you know how to re-size it, you can also move it by holding the mouse down (on the control/button) and move it to where you want.
     


    Here we have the options we usually use when we modify our controls.
    Most of the options you see there can be done with coding, but not all of them are easy to do.

    I have marked some of the most common used properties for the button here:


    You can play around with the properties to get a better understanding of them.




    Now we will look into some basic coding, so you will have a basic knowledge of what we will work with later on.


    To access the coding page, we can right click and select the: View Code
    But, we won't do that now. Since there is nothing there for us now

    Double-Click the Button1 (This will create the default event for the button. Which is 'Click')


    Now, lets create an very simple function:
    MessageBox.Show("MyMessage");

    And keep in mind that you have to add it in the button1_click event

    Mark the: { } - I like to call the: { for the Open Code/Function Mark, and the: } for the Close Code/Function Mark


     
    Now, lets look on the If|Else Statement. This is used to check if something is true/false or just to check something
    Code:
    If(Argument1 == Argument2)
    {
    //We will do something
    }
    else
    {
    //We do something
    }
    Here is an example:

    This will do the: Else Statement.
    Why? Because I did an: If "name" is equal too "you"
    And that would not be the same value as the "name".


     
    So let's look a little on how we can declare variables / values.
    First of all we have mainly two ways we declare a variable.

    1:

    Okey, here I have done two things.
    First: I declared a variable with the 'name' - Name.
    But I didn't 'declare' the content of the variable Name.

    Second: I declared a variable with the 'name' - Name2.
    But here I did declare the content, as "Jorndel" - My Online Name

    (Note, if you see the RED line under the: Name in the If statement. That means it can't use something that is nothing to check it with a variable that is something. (Your Program would not be able to debug...)

    2:

    (Now, you see the RED line is gone? That is because we didn't create it in the same method as we used it in.)

    The same here as before. (The First and Second)
    But this time I made it 'public'. That means I can use it in any of my events / methods I am to make.
    This allow you to set the value: Name to something in an other method / event and then use the button1_click event to check if the name is 'Jorndel'

    Let me Demonstrate:

    As you see, now I sat the value of Name equal to "Jorndel". (By pressing the Button2)
    Mark: When you use 1: = that means you set a value to the variable. 2: == Means you check the value.
    Look more on these 'checking' ways here: Operators


    I will release more once I write more.

    I would really need some feedback on this.
    Since I am writing a book on this stuff
    Last edited by Jorndel; 06-23-2012 at 09:50 PM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  2. The Following 6 Users Say Thank You to Jorndel For This Useful Post:

    [MPGH]Eithan1231 (05-15-2015),GoldenEagle (06-29-2012),hochikage (06-25-2012),killstreak (06-30-2012),Skinksteek (11-06-2012),stevonator (07-30-2012)

  3. #2
    hochikage's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Face to my computer :x
    Posts
    40
    Reputation
    10
    Thanks
    9
    My Mood
    Devilish
    If you need some help for some code or something else, call me on steam and i will come on skype
    Good job for this TextBox ^^
    But you forget something bro', let see how to make it in .exe (Debug => Build)
    If you want, i can make a video for it ^^
    When you heard a sound, you're die.

  4. #3
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,537
    My Mood
    Angelic
    Quote Originally Posted by hochikage View Post
    If you need some help for some code or something else, call me on steam and i will come on skype
    Good job for this TextBox ^^
    But you forget something bro', let see how to make it in .exe (Debug => Build)
    If you want, i can make a video for it ^^
    Why would I need that?
    X,x

    This is just a snippet of my book.
    There is no videos in a book....

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  5. The Following User Says Thank You to Jorndel For This Useful Post:

    rawr im a tiger (06-26-2012)

  6. #4
    hochikage's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Face to my computer :x
    Posts
    40
    Reputation
    10
    Thanks
    9
    My Mood
    Devilish
    To help some guy cause i know some who don't find properties and don't know how to put it in .exe ^^
    When you heard a sound, you're die.

  7. #5
    SAMPHacker's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    1
    Nice guid sir

  8. The Following User Says Thank You to SAMPHacker For This Useful Post:

    [MPGH]Jorndel (06-29-2012)

  9. #6
    GoldenEagle's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    CANBERRA BC
    Posts
    317
    Reputation
    102
    Thanks
    97
    My Mood
    Amused
    Very nice, I can't wait to see more.
    As the eagle was killed by the arrow winged with his own feather... We often give our enemies the means to destroy us.

    If I helped at all, be a pal and hit thanks And a little rep goes along way!

  10. #7
    Maurice12's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    My Mood
    Happy
    Im trying to make a hack but its very difficult
    what you show here , so you can make hacks right?

  11. #8
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,537
    My Mood
    Angelic
    Quote Originally Posted by Maurice12 View Post
    Im trying to make a hack but its very difficult
    what you show here , so you can make hacks right?
    Erm, no.

    Just a snippet of my C# Book for you guys.

    Go to the tutorial section.
    Released a 28 min long tutorial for it.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  12. The Following User Says Thank You to Jorndel For This Useful Post:

    tylergott (07-05-2012)

  13. #9
    tylergott's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    Manehattan-Equestria
    Posts
    209
    Reputation
    11
    Thanks
    594
    My Mood
    Devilish
    <3 This Jorndel Your Helping Me Alot xD
    Please THANK ME IF I HELPED YOU <3

    My Content!
    Master131's MW3 EXTERNAL ESP TUTORIAL:http://www.mpgh.net/forum/586-call-d...torial-v2.html
    [CS 1.6] A Whole Shit-Ton Of Scriptshttp://www.mpgh.net/forum/105-counte...ripts-3-a.html
    MW3 PRO-SNIPE QUICKSCOPING SCRIPT

  14. The Following User Says Thank You to tylergott For This Useful Post:

    [MPGH]Jorndel (07-06-2012)

  15. #10
    Ventril's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Jorndel, how would I start to make an aimbot script and like boxes around people and what not?

  16. #11
    Eidolon's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Vanished
    Posts
    822
    Reputation
    54
    Thanks
    4,034
    My Mood
    Angelic
    Quote Originally Posted by Ventril View Post
    Jorndel, how would I start to make an aimbot script and like boxes around people and what not?
    Start with .NET and create a trainer




    Yet, you are a pathetic human.

    Contributor since: 7.26.2012 - ended
    Donator since: 7.14.2012


  17. #12
    Uma vida sem desafios não vale a pena ser vivida.
    MPGH Member
    guidogol's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    pornhub.com/categories
    Posts
    644
    Reputation
    63
    Thanks
    65
    My Mood
    Lonely
    Good GUID man
    BASSHUNTER - DotA



  18. #13
    REAPER39's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    4
    thanks for this

  19. The Following User Says Thank You to REAPER39 For This Useful Post:

    [MPGH]Jorndel (07-18-2012)

  20. #14
    zer0t3ch's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    Illinois, USA
    Posts
    61
    Reputation
    10
    Thanks
    36
    My Mood
    Cynical
    Very good starting C# tutorial, but you should get into the more advanced stuff, this kind of stuff is already all over the internet.

  21. #15
    stevonator's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    83
    Reputation
    10
    Thanks
    141
    My Mood
    Stressed
    ok, i'm new at the c-languages (i know what they are, and i'm not total programming-n00b) and this tutorial explains very well how to start
    i hope you finish your book, and maybe share the link

    very good job

Similar Threads

  1. My Graffiti black-book
    By iHack in forum General
    Replies: 13
    Last Post: 12-13-2007, 08:44 PM
  2. Fucking Books
    By radnomguywfq3 in forum General
    Replies: 21
    Last Post: 11-07-2007, 02:30 PM
  3. [Book] C++ How to program
    By H4rdc0r3NL in forum C++/C Programming
    Replies: 4
    Last Post: 09-07-2007, 08:15 AM
  4. Book vb6
    By smartie in forum Visual Basic Programming
    Replies: 10
    Last Post: 07-05-2007, 10:13 PM
  5. A book on leaning C++
    By radnomguywfq3 in forum Hardware & Software Support
    Replies: 5
    Last Post: 05-31-2007, 03:21 AM

Tags for this Thread