Jump to content

The name 'textBoxLevel' does not exist in the current context

- - - - -

  • Please log in to reply
2 replies to this topic

#1
nunnbt473

nunnbt473

    Newbie

  • Members
  • Pip
  • 5 posts
Ok first off I am on Win XP (Performance Edition / Non Retail) SP3 w/ all updates
using Microsoft Visual Studio Express 2010 Version 10.0.30319.1.
with .Net Framework 4.0.30319

I have a very tiny application, one windows form with the main inside of the form. The error I am getting is
"Error 1 The name 'textBoxLevel' does not exist in the current context C:\Documents and Settings\Administrator\My Documents\PSOBB\Mag Feeding\Form1.cs 89 22 Mag Feeding"

I have tried cutting/pasting the textBox in question. I have tried changing it to a different name. I have tried making both parts (the designer file) of the partial form public instead of just the main form1.cs file. I have tried opening / closing the solution and VSE program. I tried deleting the bin and obj folders (which only resulted in not being able to use the 'last build' option during debug). I do not have any backups included in the project anyhere. I tried moving the solution out of the normal VSE projects folder. I did a ctrl+f and searched the entire solution for an ambiguity with no luck. I check for proper capitalization/spelling of the textBox and everything matches in a case search of the solution.

I have roamed several places on the web and most attribute it to either multiple references cause by backup files or an error with it being within the proper scope, but everything I have is public and contained within a single form.

Can anyone explain why I would be receiving this error?

Solution: PSOBB
Project: Mag Feeding
Files: Form1.cs
>Form1.Designer.cs //Auto generated
>Form1.resx //Auto generated
References
System
System.Data
System.Drawing
System.Windows.Forms
System.Xml

Excluded folders and files were auto created for bin, bin/Debug, bin/Release, obj, obj/x86, obj/x86/Debug, obj/x86/Release

Form1.cs
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 Mag_Feeding

{

    public partial class Form1 : Form

    {

        

        public Form1()

        { InitializeComponent(); }


        /// <summary>

        /// The main entry point for the application.

        /// </summary>

        [STAThread]

        static void Main()

        {

            Application.EnableVisualStyles();

            Application.SetCompatibleTextRenderingDefault(false);

            Application.Run(new Form1());

        }

    }


    public class mag

    {

        double[] monomate = new double[6];

        double[] dimate = new double[6];

        double[] trimate = new double[6];

        double[] monofluid = new double[6];

        double[] difluid = new double[6];

        double[] trifluid = new double[6];

        double[] antidote = new double[6];

        double[] antiparalysis = new double[6];

        double[] solAtomizer = new double[6];

        double[] moonAtomizer = new double[6];

        double[] starAtomizer = new double[6];


        string[] itemNames = new string[36]

            {

            "Mag", //Type 0

            "Varuna", //Type 1

            "Vrita", //Type 1

            "Kalki", //Type 1

            "Ashvinau", //Type 2

            "Sumba", //Type 2

            "Namuci", //Type 2

            "Marutah", //Type 2

            "Rudra", //Type 2

            "Surya", //Type 3

            "Tapas", //Type 3

            "Mitra", //Type 3

            "Asparas", //Type 4

            "Vayu", //Type 4

            "Varaha", //Type 4

            "Ushasu", //Type 4

            "Kama", //Type 4

            "Kaitabha", //Type 4

            "Kumara", //Type 4

            "Bhirava", //Type 4

            "Ila", //Type 5

            "Garuda", //Type 5

            "Sita", //Type 5

            "Soma", //Type 5

            "Durga", //Type 5

            "Nandin", //Type 5

            "Yaksa", //Type 5

            "Ribhava", //Type 5

            "Andhaka", //Type 6

            "Kabanda", //Type 6

            "Naga", //Type 6

            "Naraka", //Type 6

            "Bana", //Type 6

            "Marica", //Type 6

            "Madhu", //Type 6

            "Ravana", //Type 6

            };


        public void addItem(string level, byte item)

        {

        byte temp;

        string tempString;

        //level.C

        tempString = textBoxLevel.Text;

        


            //setValues(textBox);

           

        }


        //string[,] items = new string[11,7];

        //itemNames[0] = "Mag";

        //All stats and figures based on tables from..

        //www.pso-world.com/sections.php?op=viewarticle&artid=1021

        public void setValues(byte magType)

        {

            //Mag

            if (magType == 0)

            {

                monomate[0] = 3; // Sync

                monomate[1] = 3; // IQ

                monomate[2] = 5; // Def

                monomate[3] = 40; // Pow

                monomate[4] = 5; // Dex

                monomate[5] = 0; // Mind


                dimate[0] = 3; // Sync

                dimate[1] = 3; // IQ

                dimate[2] = 10; // Def

                dimate[3] = 45; // Pow

                dimate[4] = 5; // Dex

                dimate[5] = 0; // Mind


                trimate[0] = 4; // Sync

                trimate[1] = 4; // IQ

                trimate[2] = 15; // Def

                trimate[3] = 50; // Pow

                trimate[4] = 10; // Dex

                trimate[5] = 0; // Mind


                monofluid[0] = 3; // Sync

                monofluid[1] = 3; // IQ

                monofluid[2] = 5; // Def

                monofluid[3] = 0; // Pow

                monofluid[4] = 5; // Dex

                monofluid[5] = 40; // Mind


                difluid[0] = 3; // Sync

                difluid[1] = 3; // IQ

                difluid[2] = 10; // Def

                difluid[3] = 0; // Pow

                difluid[4] = 5; // Dex

                difluid[5] = 45; // Mind


                trifluid[0] = 4; // Sync

                trifluid[1] = 4; // IQ

                trifluid[2] = 15; // Def

                trifluid[3] = 0; // Pow

                trifluid[4] = 10; // Dex

                trifluid[5] = 50; // Mind


                antidote[0] = 3; // Sync

                antidote[1] = 3; // IQ

                antidote[2] = 5; // Def

                antidote[3] = 10; // Pow

                antidote[4] = 40; // Dex

                antidote[5] = 0; // Mind


                antiparalysis[0] = 3; // Sync

                antiparalysis[1] = 3; // IQ

                antiparalysis[2] = 5; // Def

                antiparalysis[3] = 0; // Pow

                antiparalysis[4] = 44; // Dex

                antiparalysis[5] = 10; // Mind


                solAtomizer[0] = 4; // Sync

                solAtomizer[1] = 1; // IQ

                solAtomizer[2] = 15; // Def

                solAtomizer[3] = 30; // Pow

                solAtomizer[4] = 15; // Dex

                solAtomizer[5] = 25; // Mind


                moonAtomizer[0] = 4; // Sync

                moonAtomizer[1] = 1; // IQ

                moonAtomizer[2] = 15; // Def

                moonAtomizer[3] = 25; // Pow

                moonAtomizer[4] = 15; // Dex

                moonAtomizer[5] = 30; // Mind


                starAtomizer[0] = 6; // Sync

                starAtomizer[1] = 5; // IQ

                starAtomizer[2] = 25; // Def

                starAtomizer[3] = 25; // Pow

                starAtomizer[4] = 25; // Dex

                starAtomizer[5] = 25; // Mind

            }


            // Varuna, Vrita, Kalki

            if (magType == 1)

            {

                monomate[0] = 0; // Sync

                monomate[1] = 0; // IQ

                monomate[2] = 5; // Def

                monomate[3] = 10; // Pow

                monomate[4] = 0; // Dex

                monomate[5] = -1; // Mind


                dimate[0] = 2; // Sync

                dimate[1] = 1; // IQ

                dimate[2] = 6; // Def

                dimate[3] = 15; // Pow

                dimate[4] = 3; // Dex

                dimate[5] = -3; // Mind


                trimate[0] = 3; // Sync

                trimate[1] = 2; // IQ

                trimate[2] = 12; // Def

                trimate[3] = 21; // Pow

                trimate[4] = 4; // Dex

                trimate[5] = -7; // Mind


                monofluid[0] = 0; // Sync

                monofluid[1] = 0; // IQ

                monofluid[2] = 5; // Def

                monofluid[3] = 0; // Pow

                monofluid[4] = 0; // Dex

                monofluid[5] = 8; // Mind


                difluid[0] = 2; // Sync

                difluid[1] = 1; // IQ

                difluid[2] = 7; // Def

                difluid[3] = 0; // Pow

                difluid[4] = 3; // Dex

                difluid[5] = 13; // Mind


                trifluid[0] = 3; // Sync

                trifluid[1] = 2; // IQ

                trifluid[2] = 7; // Def

                trifluid[3] = -7; // Pow

                trifluid[4] = 6; // Dex

                trifluid[5] = 19; // Mind


                antidote[0] = 0; // Sync

                antidote[1] = 1; // IQ

                antidote[2] = 0; // Def

                antidote[3] = 5; // Pow

                antidote[4] = 15; // Dex

                antidote[5] = 0; // Mind


                antiparalysis[0] = 2; // Sync

                antiparalysis[1] = 0; // IQ

                antiparalysis[2] = -1; // Def

                antiparalysis[3] = 0; // Pow

                antiparalysis[4] = 14; // Dex

                antiparalysis[5] = 5; // Mind


                solAtomizer[0] = -2; // Sync

                solAtomizer[1] = 2; // IQ

                solAtomizer[2] = 10; // Def

                solAtomizer[3] = 11; // Pow

                solAtomizer[4] = 8; // Dex

                solAtomizer[5] = 0; // Mind


                moonAtomizer[0] = 3; // Sync

                moonAtomizer[1] = -2; // IQ

                moonAtomizer[2] = 9; // Def

                moonAtomizer[3] = 0; // Pow

                moonAtomizer[4] = 9; // Dex

                moonAtomizer[5] = 11; // Mind


                starAtomizer[0] = 4; // Sync

                starAtomizer[1] = 3; // IQ

                starAtomizer[2] = 14; // Def

                starAtomizer[3] = 9; // Pow

                starAtomizer[4] = 18; // Dex

                starAtomizer[5] = 11; // Mind

            }


            //Ashvinau, Sumba, Namuci, Marutah, Rudra

            if (magType == 2)

            {

                monomate[0] = 0; // Sync

                monomate[1] = -1; // IQ

                monomate[2] = 1; // Def

                monomate[3] = 9; // Pow

                monomate[4] = 0; // Dex

                monomate[5] = -5; // Mind


                dimate[0] = 3; // Sync

                dimate[1] = 0; // IQ

                dimate[2] = 1; // Def

                dimate[3] = 13; // Pow

                dimate[4] = 0; // Dex

                dimate[5] = -10; // Mind


                trimate[0] = 4; // Sync

                trimate[1] = 1; // IQ

                trimate[2] = 8; // Def

                trimate[3] = 16; // Pow

                trimate[4] = 2; // Dex

                trimate[5] = -15; // Mind


                monofluid[0] = 0; // Sync

                monofluid[1] = -1; // IQ

                monofluid[2] = 0; // Def

                monofluid[3] = -5; // Pow

                monofluid[4] = 0; // Dex

                monofluid[5] = 9; // Mind


                difluid[0] = 3; // Sync

                difluid[1] = 0; // IQ

                difluid[2] = 4; // Def

                difluid[3] = -10; // Pow

                difluid[4] = 0; // Dex

                difluid[5] = 13; // Mind


                trifluid[0] = 3; // Sync

                trifluid[1] = 2; // IQ

                trifluid[2] = 6; // Def

                trifluid[3] = -15; // Pow

                trifluid[4] = 5; // Dex

                trifluid[5] = 17; // Mind


                antidote[0] = -1; // Sync

                antidote[1] = 1; // IQ

                antidote[2] = -5; // Def

                antidote[3] = 4; // Pow

                antidote[4] = 12; // Dex

                antidote[5] = -5; // Mind


                antiparalysis[0] = 0; // Sync

                antiparalysis[1] = 0; // IQ

                antiparalysis[2] = -5; // Def

                antiparalysis[3] = -6; // Pow

                antiparalysis[4] = 11; // Dex

                antiparalysis[5] = 4; // Mind


                solAtomizer[0] = 4; // Sync

                solAtomizer[1] = -2; // IQ

                solAtomizer[2] = 0; // Def

                solAtomizer[3] = 11; // Pow

                solAtomizer[4] = 3; // Dex

                solAtomizer[5] = -5; // Mind


                moonAtomizer[0] = -1; // Sync

                moonAtomizer[1] = 1; // IQ

                moonAtomizer[2] = 4; // Def

                moonAtomizer[3] = -5; // Pow

                moonAtomizer[4] = 0; // Dex

                moonAtomizer[5] = 11; // Mind


                starAtomizer[0] = 4; // Sync

                starAtomizer[1] = 2; // IQ

                starAtomizer[2] = 7; // Def

                starAtomizer[3] = 8; // Pow

                starAtomizer[4] = 6; // Dex

                starAtomizer[5] = 9; // Mind

            }


            //Surya, Tapas, Mitra

            if (magType == 3)

            {

                monomate[0] = 0; // Sync

                monomate[1] = -1; // IQ

                monomate[2] = 0; // Def

                monomate[3] = 3; // Pow

                monomate[4] = 0; // Dex

                monomate[5] = 0; // Mind


                dimate[0] = 2; // Sync

                dimate[1] = 0; // IQ

                dimate[2] = 5; // Def

                dimate[3] = 7; // Pow

                dimate[4] = 0; // Dex

                dimate[5] = -5; // Mind


                trimate[0] = 3; // Sync

                trimate[1] = 1; // IQ

                trimate[2] = 4; // Def

                trimate[3] = 14; // Pow

                trimate[4] = 6; // Dex

                trimate[5] = -10; // Mind


                monofluid[0] = 0; // Sync

                monofluid[1] = 0; // IQ

                monofluid[2] = 0; // Def

                monofluid[3] = 0; // Pow

                monofluid[4] = 0; // Dex

                monofluid[5] = 4; // Mind


                difluid[0] = 0; // Sync

                difluid[1] = 1; // IQ

                difluid[2] = 4; // Def

                difluid[3] = -5; // Pow

                difluid[4] = 0; // Dex

                difluid[5] = 8; // Mind


                trifluid[0] = 2; // Sync

                trifluid[1] = 2; // IQ

                trifluid[2] = 4; // Def

                trifluid[3] = -10; // Pow

                trifluid[4] = 3; // Dex

                trifluid[5] = 15; // Mind


                antidote[0] = -3; // Sync

                antidote[1] = 3; // IQ

                antidote[2] = 0; // Def

                antidote[3] = 0; // Pow

                antidote[4] = 7; // Dex

                antidote[5] = 0; // Mind


                antiparalysis[0] = 3; // Sync

                antiparalysis[1] = 0; // IQ

                antiparalysis[2] = -4; // Def

                antiparalysis[3] = -5; // Pow

                antiparalysis[4] = 20; // Dex

                antiparalysis[5] = -5; // Mind


                solAtomizer[0] = 3; // Sync

                solAtomizer[1] = -2; // IQ

                solAtomizer[2] = -10; // Def

                solAtomizer[3] = 9; // Pow

                solAtomizer[4] = 6; // Dex

                solAtomizer[5] = 9; // Mind


                moonAtomizer[0] = -2; // Sync

                moonAtomizer[1] = 2; // IQ

                moonAtomizer[2] = 8; // Def

                moonAtomizer[3] = 5; // Pow

                moonAtomizer[4] = -8; // Dex

                moonAtomizer[5] = 7; // Mind


                starAtomizer[0] = 3; // Sync

                starAtomizer[1] = 2; // IQ

                starAtomizer[2] = 7; // Def

                starAtomizer[3] = 7; // Pow

                starAtomizer[4] = 7; // Dex

                starAtomizer[5] = 7; // Mind

            }


            //Asprars, Vayu, Varaha, Ushasu, Kama, Kaitabh, Kumara, Bhirava

            if (magType == 4)

            {

                monomate[0] = 2; // Sync

                monomate[1] = -1; // IQ

                monomate[2] = -5; // Def

                monomate[3] = 9; // Pow

                monomate[4] = -5; // Dex

                monomate[5] = 0; // Mind


                dimate[0] = 2; // Sync

                dimate[1] = 0; // IQ

                dimate[2] = 0; // Def

                dimate[3] = 11; // Pow

                dimate[4] = 0; // Dex

                dimate[5] = -10; // Mind


                trimate[0] = 0; // Sync

                trimate[1] = 1; // IQ

                trimate[2] = 4; // Def

                trimate[3] = 14; // Pow

                trimate[4] = 0; // Dex

                trimate[5] = -15; // Mind


                monofluid[0] = 2; // Sync

                monofluid[1] = -1; // IQ

                monofluid[2] = -5; // Def

                monofluid[3] = 0; // Pow

                monofluid[4] = -6; // Dex

                monofluid[5] = 10; // Mind


                difluid[0] = 2; // Sync

                difluid[1] = 0; // IQ

                difluid[2] = 0; // Def

                difluid[3] = -10; // Pow

                difluid[4] = 0; // Dex

                difluid[5] = 11; // Mind


                trifluid[0] = 0; // Sync

                trifluid[1] = 1; // IQ

                trifluid[2] = 4; // Def

                trifluid[3] = -15; // Pow

                trifluid[4] = 0; // Dex

                trifluid[5] = 15; // Mind


                antidote[0] = 2; // Sync

                antidote[1] = -1; // IQ

                antidote[2] = -5; // Def

                antidote[3] = -5; // Pow

                antidote[4] = 16; // Dex

                antidote[5] = -5; // Mind


                antiparalysis[0] = -2; // Sync

                antiparalysis[1] = 3; // IQ

                antiparalysis[2] = 7; // Def

                antiparalysis[3] = -3; // Pow

                antiparalysis[4] = 0; // Dex

                antiparalysis[5] = -3; // Mind


                solAtomizer[0] = 4; // Sync

                solAtomizer[1] = -2; // IQ

                solAtomizer[2] = 5; // Def

                solAtomizer[3] = 21; // Pow

                solAtomizer[4] = -5; // Dex

                solAtomizer[5] = -20; // Mind


                moonAtomizer[0] = 3; // Sync

                moonAtomizer[1] = 0; // IQ

                moonAtomizer[2] = -5; // Def

                moonAtomizer[3] = -20; // Pow

                moonAtomizer[4] = 5; // Dex

                moonAtomizer[5] = 21; // Mind


                starAtomizer[0] = 3; // Sync

                starAtomizer[1] = 2; // IQ

                starAtomizer[2] = 3; // Def

                starAtomizer[3] = 6; // Pow

                starAtomizer[4] = 8; // Dex

                starAtomizer[5] = 5; // Mind

            }


            //Ila, Garuda, Sita, Soma, Durga, Nandin, Yaksa, Ribhava

            if (magType == 5)

            {

                monomate[0] = 2; // Sync

                monomate[1] = -1; // IQ

                monomate[2] = -4; // Def

                monomate[3] = 13; // Pow

                monomate[4] = -5; // Dex

                monomate[5] = -5; // Mind


                dimate[0] = 0; // Sync

                dimate[1] = 1; // IQ

                dimate[2] = 0; // Def

                dimate[3] = 16; // Pow

                dimate[4] = 0; // Dex

                dimate[5] = -15; // Mind


                trimate[0] = 2; // Sync

                trimate[1] = 0; // IQ

                trimate[2] = 3; // Def

                trimate[3] = 19; // Pow

                trimate[4] = -2; // Dex

                trimate[5] = -18; // Mind


                monofluid[0] = 2; // Sync

                monofluid[1] = -1; // IQ

                monofluid[2] = -4; // Def

                monofluid[3] = -5; // Pow

                monofluid[4] = -5; // Dex

                monofluid[5] = 13; // Mind


                difluid[0] = 0; // Sync

                difluid[1] = 1; // IQ

                difluid[2] = 0; // Def

                difluid[3] = -15; // Pow

                difluid[4] = 0; // Dex

                difluid[5] = 16; // Mind


                trifluid[0] = 2; // Sync

                trifluid[1] = 0; // IQ

                trifluid[2] = 3; // Def

                trifluid[3] = -20; // Pow

                trifluid[4] = 0; // Dex

                trifluid[5] = 19; // Mind


                antidote[0] = 0; // Sync

                antidote[1] = 1; // IQ

                antidote[2] = 5; // Def

                antidote[3] = -6; // Pow

                antidote[4] = 6; // Dex

                antidote[5] = -5; // Mind


                antiparalysis[0] = -1; // Sync

                antiparalysis[1] = 1; // IQ

                antiparalysis[2] = 0; // Def

                antiparalysis[3] = -4; // Pow

                antiparalysis[4] = 14; // Dex

                antiparalysis[5] = -10; // Mind


                solAtomizer[0] = 4; // Sync

                solAtomizer[1] = -1; // IQ

                solAtomizer[2] = 4; // Def

                solAtomizer[3] = 17; // Pow

                solAtomizer[4] = -5; // Dex

                solAtomizer[5] = -15; // Mind


                moonAtomizer[0] = 2; // Sync

                moonAtomizer[1] = 0; // IQ

                moonAtomizer[2] = -10; // Def

                moonAtomizer[3] = -15; // Pow

                moonAtomizer[4] = 5; // Dex

                moonAtomizer[5] = 21; // Mind


                starAtomizer[0] = 3; // Sync

                starAtomizer[1] = 2; // IQ

                starAtomizer[2] = 2; // Def

                starAtomizer[3] = 8; // Pow

                starAtomizer[4] = 3; // Dex

                starAtomizer[5] = 6; // Mind

            }


            //Andhaka, Kabanda, Naga, Naraka, Bana, Marica, Madhu, Ravana

            if (magType == 6)

            {

                monomate[0] = -1; // Sync

                monomate[1] = 1; // IQ

                monomate[2] = -3; // Def

                monomate[3] = 9; // Pow

                monomate[4] = -3; // Dex

                monomate[5] = -4; // Mind


                dimate[0] = 2; // Sync

                dimate[1] = 0; // IQ

                dimate[2] = 0; // Def

                dimate[3] = 11; // Pow

                dimate[4] = 0; // Dex

                dimate[5] = -10; // Mind


                trimate[0] = 2; // Sync

                trimate[1] = 0; // IQ

                trimate[2] = 2; // Def

                trimate[3] = 15; // Pow

                trimate[4] = 0; // Dex

                trimate[5] = -16; // Mind


                monofluid[0] = -1; // Sync

                monofluid[1] = 1; // IQ

                monofluid[2] = -3; // Def

                monofluid[3] = -4; // Pow

                monofluid[4] = -3; // Dex

                monofluid[5] = 9; // Mind


                difluid[0] = 2; // Sync

                difluid[1] = 0; // IQ

                difluid[2] = 0; // Def

                difluid[3] = -10; // Pow

                difluid[4] = 0; // Dex

                difluid[5] = 11; // Mind


                trifluid[0] = 2; // Sync

                trifluid[1] = 0; // IQ

                trifluid[2] = -2; // Def

                trifluid[3] = -15; // Pow

                trifluid[4] = 0; // Dex

                trifluid[5] = 19; // Mind


                antidote[0] = 2; // Sync

                antidote[1] = -1; // IQ

                antidote[2] = 0; // Def

                antidote[3] = 6; // Pow

                antidote[4] = 9; // Dex

                antidote[5] = -15; // Mind


                antiparalysis[0] = -2; // Sync

                antiparalysis[1] = 3; // IQ

                antiparalysis[2] = 0; // Def

                antiparalysis[3] = -15; // Pow

                antiparalysis[4] = 9; // Dex

                antiparalysis[5] = 6; // Mind


                solAtomizer[0] = 3; // Sync

                solAtomizer[1] = -1; // IQ

                solAtomizer[2] = 9; // Def

                solAtomizer[3] = -20; // Pow

                solAtomizer[4] = -5; // Dex

                solAtomizer[5] = 17; // Mind


                moonAtomizer[0] = 0; // Sync

                moonAtomizer[1] = 2; // IQ

                moonAtomizer[2] = -5; // Def

                moonAtomizer[3] = 20; // Pow

                moonAtomizer[4] = 5; // Dex

                moonAtomizer[5] = -20; // Mind


                starAtomizer[0] = 3; // Sync

                starAtomizer[1] = 2; // IQ

                starAtomizer[2] = 0; // Def

                starAtomizer[3] = 11; // Pow

                starAtomizer[4] = 0; // Dex

                starAtomizer[5] = 11; // Mind

            }


            //Mag Cells

            if (magType == 7)

            {

                monomate[0] = -1; // Sync

                monomate[1] = 0; // IQ

                monomate[2] = -4; // Def

                monomate[3] = 21; // Pow

                monomate[4] = -15; // Dex

                monomate[5] = -5; // Mind


                dimate[0] = 0; // Sync

                dimate[1] = 1; // IQ

                dimate[2] = -1; // Def

                dimate[3] = 27; // Pow

                dimate[4] = -10; // Dex

                dimate[5] = -16; // Mind


                trimate[0] = 2; // Sync

                trimate[1] = 0; // IQ

                trimate[2] = 5; // Def

                trimate[3] = 29; // Pow

                trimate[4] = -7; // Dex

                trimate[5] = -25; // Mind


                monofluid[0] = 1; // Sync

                monofluid[1] = 0; // IQ

                monofluid[2] = -10; // Def

                monofluid[3] = -5; // Pow

                monofluid[4] = -10; // Dex

                monofluid[5] = 21; // Mind


                difluid[0] = 0; // Sync

                difluid[1] = 1; // IQ

                difluid[2] = -5; // Def

                difluid[3] = -16; // Pow

                difluid[4] = -5; // Dex

                difluid[5] = 25; // Mind


                trifluid[0] = 2; // Sync

                trifluid[1] = 0; // IQ

                trifluid[2] = -7; // Def

                trifluid[3] = -29; // Pow

                trifluid[4] = 6; // Dex

                trifluid[5] = 29; // Mind


                antidote[0] = -1; // Sync

                antidote[1] = 1; // IQ

                antidote[2] = -10; // Def

                antidote[3] = -10; // Pow

                antidote[4] = 28; // Dex

                antidote[5] = -10; // Mind


                antiparalysis[0] = 2; // Sync

                antiparalysis[1] = -1; // IQ

                antiparalysis[2] = 9; // Def

                antiparalysis[3] = -18; // Pow

                antiparalysis[4] = 24; // Dex

                antiparalysis[5] = -15; // Mind


                solAtomizer[0] = 2; // Sync

                solAtomizer[1] = 1; // IQ

                solAtomizer[2] = 19; // Def

                solAtomizer[3] = 18; // Pow

                solAtomizer[4] = -15; // Dex

                solAtomizer[5] = -20; // Mind


                moonAtomizer[0] = 2; // Sync

                moonAtomizer[1] = 1; // IQ

                moonAtomizer[2] = -15; // Def

                moonAtomizer[3] = -20; // Pow

                moonAtomizer[4] = 19; // Dex

                moonAtomizer[5] = 18; // Mind


                starAtomizer[0] = 4; // Sync

                starAtomizer[1] = 2; // IQ

                starAtomizer[2] = 3; // Def

                starAtomizer[3] = 7; // Pow

                starAtomizer[4] = 3; // Dex

                starAtomizer[5] = 3; // Mind

                /*

                                    //www.pso-world.com/sectios.php?op=viewarticle&artid=1031

                                    //Rati, Pushan, Bhima

                                if (magType == 8)

                                {

                                    monomate[0] = -1; // Sync

                                    monomate[1] = 1; // IQ

                                    monomate[2] = -3; // Def

                                    monomate[3] = 9; // Pow

                                    monomate[4] = -3; // Dex

                                    monomate[5] = -4; // Mind


                                    dimate[0] = 0; // Sync

                                    dimate[1] = 1; // IQ

                                    dimate[2] = -1; // Def

                                    dimate[3] = 27; // Pow

                                    dimate[4] = -10; // Dex

                                    dimate[5] = -16; // Mind


                                    trimate[0] = 2; // Sync

                                    trimate[1] = 0; // IQ

                                    trimate[2] = 5; // Def

                                    trimate[3] = 29; // Pow

                                    trimate[4] = -7; // Dex

                                    trimate[5] = -25; // Mind


                                    monofluid[0] = 1; // Sync

                                    monofluid[1] = 0; // IQ

                                    monofluid[2] = -10; // Def

                                    monofluid[3] = -5; // Pow

                                    monofluid[4] = -10; // Dex

                                    monofluid[5] = 21; // Mind


                                    difluid[0] = 0; // Sync

                                    difluid[1] = 1; // IQ

                                    difluid[2] = -5; // Def

                                    difluid[3] = -16; // Pow

                                    difluid[4] = -5; // Dex

                                    difluid[5] = 25; // Mind


                                    trifluid[0] = 2; // Sync

                                    trifluid[1] = 0; // IQ

                                    trifluid[2] = -7; // Def

                                    trifluid[3] = -29; // Pow

                                    trifluid[4] = 6; // Dex

                                    trifluid[5] = 29; // Mind


                                    antidote[0] = -1; // Sync

                                    antidote[1] = 1; // IQ

                                    antidote[2] = -10; // Def

                                    antidote[3] = -10; // Pow

                                    antidote[4] = 28; // Dex

                                    antidote[5] = -10; // Mind


                                    antiparalysis[0] = 2; // Sync

                                    antiparalysis[1] = -1; // IQ

                                    antiparalysis[2] = 9; // Def

                                    antiparalysis[3] = -18; // Pow

                                    antiparalysis[4] = 24; // Dex

                                    antiparalysis[5] = -15; // Mind


                                    solAtomizer[0] = 2; // Sync

                                    solAtomizer[1] = 1; // IQ

                                    solAtomizer[2] = 19; // Def

                                    solAtomizer[3] = 18; // Pow

                                    solAtomizer[4] = -15; // Dex

                                    solAtomizer[5] = -20; // Mind


                                    moonAtomizer[0] = 2; // Sync

                                    moonAtomizer[1] = 1; // IQ

                                    moonAtomizer[2] = -15; // Def

                                    moonAtomizer[3] = -20; // Pow

                                    moonAtomizer[4] = 19; // Dex

                                    moonAtomizer[5] = 18; // Mind


                                    starAtomizer[0] = 4; // Sync

                                    starAtomizer[1] = 2; // IQ

                                    starAtomizer[2] = 3; // Def

                                    starAtomizer[3] = 7; // Pow

                                    starAtomizer[4] = 3; // Dex

                                    starAtomizer[5] = 3; // Mind


                                //Deva, Rumkin, Sato

                                if (magType == 9)

                                {

                                    monomate[0] = -1; // Sync

                                    monomate[1] = 0; // IQ

                                    monomate[2] = -4; // Def

                                    monomate[3] = 21; // Pow

                                    monomate[4] = -15; // Dex

                                    monomate[5] = -5; // Mind


                                    dimate[0] = 0; // Sync

                                    dimate[1] = 1; // IQ

                                    dimate[2] = -1; // Def

                                    dimate[3] = 27; // Pow

                                    dimate[4] = -10; // Dex

                                    dimate[5] = -16; // Mind


                                    trimate[0] = 2; // Sync

                                    trimate[1] = 0; // IQ

                                    trimate[2] = 5; // Def

                                    trimate[3] = 29; // Pow

                                    trimate[4] = -7; // Dex

                                    trimate[5] = -25; // Mind


                                    monofluid[0] = 1; // Sync

                                    monofluid[1] = 0; // IQ

                                    monofluid[2] = -10; // Def

                                    monofluid[3] = -5; // Pow

                                    monofluid[4] = -10; // Dex

                                    monofluid[5] = 21; // Mind


                                    difluid[0] = 0; // Sync

                                    difluid[1] = 1; // IQ

                                    difluid[2] = -5; // Def

                                    difluid[3] = -16; // Pow

                                    difluid[4] = -5; // Dex

                                    difluid[5] = 25; // Mind


                                    trifluid[0] = 2; // Sync

                                    trifluid[1] = 0; // IQ

                                    trifluid[2] = -7; // Def

                                    trifluid[3] = -29; // Pow

                                    trifluid[4] = 6; // Dex

                                    trifluid[5] = 29; // Mind


                                    antidote[0] = -1; // Sync

                                    antidote[1] = 1; // IQ

                                    antidote[2] = -10; // Def

                                    antidote[3] = -10; // Pow

                                    antidote[4] = 28; // Dex

                                    antidote[5] = -10; // Mind


                                    antiparalysis[0] = 2; // Sync

                                    antiparalysis[1] = -1; // IQ

                                    antiparalysis[2] = 9; // Def

                                    antiparalysis[3] = -18; // Pow

                                    antiparalysis[4] = 24; // Dex

                                    antiparalysis[5] = -15; // Mind


                                    solAtomizer[0] = 2; // Sync

                                    solAtomizer[1] = 1; // IQ

                                    solAtomizer[2] = 19; // Def

                                    solAtomizer[3] = 18; // Pow

                                    solAtomizer[4] = -15; // Dex

                                    solAtomizer[5] = -20; // Mind


                                    moonAtomizer[0] = 2; // Sync

                                    moonAtomizer[1] = 1; // IQ

                                    moonAtomizer[2] = -15; // Def

                                    moonAtomizer[3] = -20; // Pow

                                    moonAtomizer[4] = 19; // Dex

                                    moonAtomizer[5] = 18; // Mind


                                    starAtomizer[0] = 4; // Sync

                                    starAtomizer[1] = 2; // IQ

                                    starAtomizer[2] = 3; // Def

                                    starAtomizer[3] = 7; // Pow

                                    starAtomizer[4] = 3; // Dex

                                    starAtomizer[5] = 3; // Mind

  

                                 //Savitri, Diwari, Nidra

                                if (magType == 10)

                                {

                                    monomate[0] = -1; // Sync

                                    monomate[1] = 0; // IQ

                                    monomate[2] = -4; // Def

                                    monomate[3] = 21; // Pow

                                    monomate[4] = -15; // Dex

                                    monomate[5] = -5; // Mind


                                    dimate[0] = 0; // Sync

                                    dimate[1] = 1; // IQ

                                    dimate[2] = -1; // Def

                                    dimate[3] = 27; // Pow

                                    dimate[4] = -10; // Dex

                                    dimate[5] = -16; // Mind


                                    trimate[0] = 2; // Sync

                                    trimate[1] = 0; // IQ

                                    trimate[2] = 5; // Def

                                    trimate[3] = 29; // Pow

                                    trimate[4] = -7; // Dex

                                    trimate[5] = -25; // Mind


                                    monofluid[0] = 1; // Sync

                                    monofluid[1] = 0; // IQ

                                    monofluid[2] = -10; // Def

                                    monofluid[3] = -5; // Pow

                                    monofluid[4] = -10; // Dex

                                    monofluid[5] = 21; // Mind


                                    difluid[0] = 0; // Sync

                                    difluid[1] = 1; // IQ

                                    difluid[2] = -5; // Def

                                    difluid[3] = -16; // Pow

                                    difluid[4] = -5; // Dex

                                    difluid[5] = 25; // Mind


                                    trifluid[0] = 2; // Sync

                                    trifluid[1] = 0; // IQ

                                    trifluid[2] = -7; // Def

                                    trifluid[3] = -29; // Pow

                                    trifluid[4] = 6; // Dex

                                    trifluid[5] = 29; // Mind


                                    antidote[0] = -1; // Sync

                                    antidote[1] = 1; // IQ

                                    antidote[2] = -10; // Def

                                    antidote[3] = -10; // Pow

                                    antidote[4] = 28; // Dex

                                    antidote[5] = -10; // Mind


                                    antiparalysis[0] = 2; // Sync

                                    antiparalysis[1] = -1; // IQ

                                    antiparalysis[2] = 9; // Def

                                    antiparalysis[3] = -18; // Pow

                                    antiparalysis[4] = 24; // Dex

                                    antiparalysis[5] = -15; // Mind


                                    solAtomizer[0] = 2; // Sync

                                    solAtomizer[1] = 1; // IQ

                                    solAtomizer[2] = 19; // Def

                                    solAtomizer[3] = 18; // Pow

                                    solAtomizer[4] = -15; // Dex

                                    solAtomizer[5] = -20; // Mind


                                    moonAtomizer[0] = 2; // Sync

                                    moonAtomizer[1] = 1; // IQ

                                    moonAtomizer[2] = -15; // Def

                                    moonAtomizer[3] = -20; // Pow

                                    moonAtomizer[4] = 19; // Dex

                                    moonAtomizer[5] = 18; // Mind


                                    starAtomizer[0] = 4; // Sync

                                    starAtomizer[1] = 2; // IQ

                                    starAtomizer[2] = 3; // Def

                                    starAtomizer[3] = 7; // Pow

                                    starAtomizer[4] = 3; // Dex

                                    starAtomizer[5] = 3; // Mind

                 */

            }


        }

    }

}

Form1.Designer.cs
namespace Mag_Feeding

{

    public partial class Form1

    {

        /// <summary>

        /// Required designer variable.

        /// </summary>

        private System.ComponentModel.IContainer components = null;


        /// <summary>

        /// Clean up any resources being used.

        /// </summary>

        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>

        protected override void Dispose(bool disposing)

        {

            if (disposing && (components != null))

            {components.Dispose();}

            base.Dispose(disposing);

        }


        #region Windows Form Designer generated code


        /// <summary>

        /// Required method for Designer support - do not modify

        /// the contents of this method with the code editor.

        /// </summary>

        private void InitializeComponent()

        {

            this.progressBarStr = new System.Windows.Forms.ProgressBar();

            this.progressBarPow = new System.Windows.Forms.ProgressBar();

            this.progressBarMind = new System.Windows.Forms.ProgressBar();

            this.progressBarDex = new System.Windows.Forms.ProgressBar();

            this.labelStr = new System.Windows.Forms.Label();

            this.labelPow = new System.Windows.Forms.Label();

            this.labelDex = new System.Windows.Forms.Label();

            this.labelMind = new System.Windows.Forms.Label();

            this.labelLevel = new System.Windows.Forms.Label();

            this.buttonMonomate = new System.Windows.Forms.Button();

            this.buttonDimate = new System.Windows.Forms.Button();

            this.buttonTrimate = new System.Windows.Forms.Button();

            this.buttonSolAtomizer = new System.Windows.Forms.Button();

            this.buttonAntidote = new System.Windows.Forms.Button();

            this.buttonAntiparalysis = new System.Windows.Forms.Button();

            this.buttonTrifluid = new System.Windows.Forms.Button();

            this.buttonDifluid = new System.Windows.Forms.Button();

            this.buttonMonofluid = new System.Windows.Forms.Button();

            this.buttonStarAtomizer = new System.Windows.Forms.Button();

            this.buttonMoonAtomizer = new System.Windows.Forms.Button();

            this.labelTotals = new System.Windows.Forms.Label();

            this.textBox1 = new System.Windows.Forms.TextBox();

            this.textBox2 = new System.Windows.Forms.TextBox();

            this.textBox3 = new System.Windows.Forms.TextBox();

            this.textBox4 = new System.Windows.Forms.TextBox();

            this.textBox5 = new System.Windows.Forms.TextBox();

            this.textBox6 = new System.Windows.Forms.TextBox();

            this.textBox7 = new System.Windows.Forms.TextBox();

            this.textBox8 = new System.Windows.Forms.TextBox();

            this.textBox9 = new System.Windows.Forms.TextBox();

            this.textBox10 = new System.Windows.Forms.TextBox();

            this.textBox11 = new System.Windows.Forms.TextBox();

            this.groupBox1 = new System.Windows.Forms.GroupBox();

            this.radioButtonSub = new System.Windows.Forms.RadioButton();

            this.radioButtonAdd = new System.Windows.Forms.RadioButton();

            this.textBoxStr = new System.Windows.Forms.TextBox();

            this.textBoxPow = new System.Windows.Forms.TextBox();

            this.textBoxDex = new System.Windows.Forms.TextBox();

            this.textBoxMind = new System.Windows.Forms.TextBox();

            this.textBoxLevel = new System.Windows.Forms.TextBox();

            this.groupBox1.SuspendLayout();

            this.SuspendLayout();

            // 

            // progressBarStr

            // 

            this.progressBarStr.Location = new System.Drawing.Point(303, 64);

            this.progressBarStr.Name = "progressBarStr";

            this.progressBarStr.Size = new System.Drawing.Size(100, 23);

            this.progressBarStr.Step = 1;

            this.progressBarStr.Style = System.Windows.Forms.ProgressBarStyle.Continuous;

            this.progressBarStr.TabIndex = 0;

            // 

            // progressBarPow

            // 

            this.progressBarPow.Location = new System.Drawing.Point(303, 93);

            this.progressBarPow.Name = "progressBarPow";

            this.progressBarPow.Size = new System.Drawing.Size(100, 23);

            this.progressBarPow.Step = 1;

            this.progressBarPow.Style = System.Windows.Forms.ProgressBarStyle.Continuous;

            this.progressBarPow.TabIndex = 1;

            // 

            // progressBarMind

            // 

            this.progressBarMind.Location = new System.Drawing.Point(303, 151);

            this.progressBarMind.Name = "progressBarMind";

            this.progressBarMind.Size = new System.Drawing.Size(100, 23);

            this.progressBarMind.Step = 1;

            this.progressBarMind.Style = System.Windows.Forms.ProgressBarStyle.Continuous;

            this.progressBarMind.TabIndex = 2;

            // 

            // progressBarDex

            // 

            this.progressBarDex.Location = new System.Drawing.Point(303, 122);

            this.progressBarDex.Name = "progressBarDex";

            this.progressBarDex.Size = new System.Drawing.Size(100, 23);

            this.progressBarDex.Step = 1;

            this.progressBarDex.Style = System.Windows.Forms.ProgressBarStyle.Continuous;

            this.progressBarDex.TabIndex = 3;

            // 

            // labelStr

            // 

            this.labelStr.AutoSize = true;

            this.labelStr.Location = new System.Drawing.Point(242, 64);

            this.labelStr.Name = "labelStr";

            this.labelStr.Size = new System.Drawing.Size(47, 13);

            this.labelStr.TabIndex = 4;

            this.labelStr.Text = "Strength";

            // 

            // labelPow

            // 

            this.labelPow.AutoSize = true;

            this.labelPow.Location = new System.Drawing.Point(242, 93);

            this.labelPow.Name = "labelPow";

            this.labelPow.Size = new System.Drawing.Size(37, 13);

            this.labelPow.TabIndex = 5;

            this.labelPow.Text = "Power";

            // 

            // labelDex

            // 

            this.labelDex.AutoSize = true;

            this.labelDex.Location = new System.Drawing.Point(242, 122);

            this.labelDex.Name = "labelDex";

            this.labelDex.Size = new System.Drawing.Size(48, 13);

            this.labelDex.TabIndex = 6;

            this.labelDex.Text = "Dexterity";

            // 

            // labelMind

            // 

            this.labelMind.AutoSize = true;

            this.labelMind.Location = new System.Drawing.Point(242, 151);

            this.labelMind.Name = "labelMind";

            this.labelMind.Size = new System.Drawing.Size(30, 13);

            this.labelMind.TabIndex = 7;

            this.labelMind.Text = "Mind";

            // 

            // labelLevel

            // 

            this.labelLevel.AutoSize = true;

            this.labelLevel.Location = new System.Drawing.Point(242, 30);

            this.labelLevel.Name = "labelLevel";

            this.labelLevel.Size = new System.Drawing.Size(33, 13);

            this.labelLevel.TabIndex = 8;

            this.labelLevel.Text = "Level";

            // 

            // buttonMonomate

            // 

            this.buttonMonomate.Location = new System.Drawing.Point(48, 30);

            this.buttonMonomate.Name = "buttonMonomate";

            this.buttonMonomate.Size = new System.Drawing.Size(95, 23);

            this.buttonMonomate.TabIndex = 14;

            this.buttonMonomate.Text = "Monomate";

            this.buttonMonomate.UseVisualStyleBackColor = true;

            // 

            // buttonDimate

            // 

            this.buttonDimate.Location = new System.Drawing.Point(48, 59);

            this.buttonDimate.Name = "buttonDimate";

            this.buttonDimate.Size = new System.Drawing.Size(95, 23);

            this.buttonDimate.TabIndex = 15;

            this.buttonDimate.Text = "Dimate";

            this.buttonDimate.UseVisualStyleBackColor = true;

            // 

            // buttonTrimate

            // 

            this.buttonTrimate.Location = new System.Drawing.Point(48, 88);

            this.buttonTrimate.Name = "buttonTrimate";

            this.buttonTrimate.Size = new System.Drawing.Size(95, 23);

            this.buttonTrimate.TabIndex = 16;

            this.buttonTrimate.Text = "Trimate";

            this.buttonTrimate.UseVisualStyleBackColor = true;

            // 

            // buttonSolAtomizer

            // 

            this.buttonSolAtomizer.Location = new System.Drawing.Point(48, 262);

            this.buttonSolAtomizer.Name = "buttonSolAtomizer";

            this.buttonSolAtomizer.Size = new System.Drawing.Size(95, 23);

            this.buttonSolAtomizer.TabIndex = 17;

            this.buttonSolAtomizer.Text = "Sol Atomizer";

            this.buttonSolAtomizer.UseVisualStyleBackColor = true;

            // 

            // buttonAntidote

            // 

            this.buttonAntidote.Location = new System.Drawing.Point(48, 204);

            this.buttonAntidote.Name = "buttonAntidote";

            this.buttonAntidote.Size = new System.Drawing.Size(95, 23);

            this.buttonAntidote.TabIndex = 18;

            this.buttonAntidote.Text = "Antidote";

            this.buttonAntidote.UseVisualStyleBackColor = true;

            // 

            // buttonAntiparalysis

            // 

            this.buttonAntiparalysis.Location = new System.Drawing.Point(48, 233);

            this.buttonAntiparalysis.Name = "buttonAntiparalysis";

            this.buttonAntiparalysis.Size = new System.Drawing.Size(95, 23);

            this.buttonAntiparalysis.TabIndex = 19;

            this.buttonAntiparalysis.Text = "Antiparalysis";

            this.buttonAntiparalysis.UseVisualStyleBackColor = true;

            // 

            // buttonTrifluid

            // 

            this.buttonTrifluid.Location = new System.Drawing.Point(48, 175);

            this.buttonTrifluid.Name = "buttonTrifluid";

            this.buttonTrifluid.Size = new System.Drawing.Size(95, 23);

            this.buttonTrifluid.TabIndex = 20;

            this.buttonTrifluid.Text = "Trifluid";

            this.buttonTrifluid.UseVisualStyleBackColor = true;

            // 

            // buttonDifluid

            // 

            this.buttonDifluid.Location = new System.Drawing.Point(48, 146);

            this.buttonDifluid.Name = "buttonDifluid";

            this.buttonDifluid.Size = new System.Drawing.Size(95, 23);

            this.buttonDifluid.TabIndex = 21;

            this.buttonDifluid.Text = "Difluid";

            this.buttonDifluid.UseVisualStyleBackColor = true;

            // 

            // buttonMonofluid

            // 

            this.buttonMonofluid.Location = new System.Drawing.Point(48, 117);

            this.buttonMonofluid.Name = "buttonMonofluid";

            this.buttonMonofluid.Size = new System.Drawing.Size(95, 23);

            this.buttonMonofluid.TabIndex = 22;

            this.buttonMonofluid.Text = "Monofluid";

            this.buttonMonofluid.UseVisualStyleBackColor = true;

            // 

            // buttonStarAtomizer

            // 

            this.buttonStarAtomizer.Location = new System.Drawing.Point(48, 290);

            this.buttonStarAtomizer.Name = "buttonStarAtomizer";

            this.buttonStarAtomizer.Size = new System.Drawing.Size(95, 23);

            this.buttonStarAtomizer.TabIndex = 23;

            this.buttonStarAtomizer.Text = "Star Atomizer";

            this.buttonStarAtomizer.UseVisualStyleBackColor = true;

            // 

            // buttonMoonAtomizer

            // 

            this.buttonMoonAtomizer.Location = new System.Drawing.Point(48, 319);

            this.buttonMoonAtomizer.Name = "buttonMoonAtomizer";

            this.buttonMoonAtomizer.Size = new System.Drawing.Size(95, 23);

            this.buttonMoonAtomizer.TabIndex = 24;

            this.buttonMoonAtomizer.Text = "Moon Atomizer";

            this.buttonMoonAtomizer.UseVisualStyleBackColor = true;

            // 

            // labelTotals

            // 

            this.labelTotals.AutoSize = true;

            this.labelTotals.Location = new System.Drawing.Point(12, 9);

            this.labelTotals.Name = "labelTotals";

            this.labelTotals.Size = new System.Drawing.Size(36, 13);

            this.labelTotals.TabIndex = 25;

            this.labelTotals.Text = "Totals";

            // 

            // textBox1

            // 

            this.textBox1.Location = new System.Drawing.Point(15, 30);

            this.textBox1.Name = "textBox1";

            this.textBox1.Size = new System.Drawing.Size(22, 20);

            this.textBox1.TabIndex = 26;

            this.textBox1.Text = "0";

            // 

            // textBox2

            // 

            this.textBox2.Location = new System.Drawing.Point(15, 319);

            this.textBox2.Name = "textBox2";

            this.textBox2.Size = new System.Drawing.Size(22, 20);

            this.textBox2.TabIndex = 27;

            this.textBox2.Text = "0";

            // 

            // textBox3

            // 

            this.textBox3.Location = new System.Drawing.Point(15, 290);

            this.textBox3.Name = "textBox3";

            this.textBox3.Size = new System.Drawing.Size(22, 20);

            this.textBox3.TabIndex = 28;

            this.textBox3.Text = "0";

            // 

            // textBox4

            // 

            this.textBox4.Location = new System.Drawing.Point(15, 262);

            this.textBox4.Name = "textBox4";

            this.textBox4.Size = new System.Drawing.Size(22, 20);

            this.textBox4.TabIndex = 29;

            this.textBox4.Text = "0";

            // 

            // textBox5

            // 

            this.textBox5.Location = new System.Drawing.Point(15, 233);

            this.textBox5.Name = "textBox5";

            this.textBox5.Size = new System.Drawing.Size(22, 20);

            this.textBox5.TabIndex = 30;

            this.textBox5.Text = "0";

            // 

            // textBox6

            // 

            this.textBox6.Location = new System.Drawing.Point(15, 204);

            this.textBox6.Name = "textBox6";

            this.textBox6.Size = new System.Drawing.Size(22, 20);

            this.textBox6.TabIndex = 31;

            this.textBox6.Text = "0";

            // 

            // textBox7

            // 

            this.textBox7.Location = new System.Drawing.Point(15, 175);

            this.textBox7.Name = "textBox7";

            this.textBox7.Size = new System.Drawing.Size(22, 20);

            this.textBox7.TabIndex = 32;

            this.textBox7.Text = "0";

            // 

            // textBox8

            // 

            this.textBox8.Location = new System.Drawing.Point(15, 146);

            this.textBox8.Name = "textBox8";

            this.textBox8.Size = new System.Drawing.Size(22, 20);

            this.textBox8.TabIndex = 33;

            this.textBox8.Text = "0";

            // 

            // textBox9

            // 

            this.textBox9.Location = new System.Drawing.Point(15, 117);

            this.textBox9.Name = "textBox9";

            this.textBox9.Size = new System.Drawing.Size(22, 20);

            this.textBox9.TabIndex = 34;

            this.textBox9.Text = "0";

            // 

            // textBox10

            // 

            this.textBox10.Location = new System.Drawing.Point(15, 88);

            this.textBox10.Name = "textBox10";

            this.textBox10.Size = new System.Drawing.Size(22, 20);

            this.textBox10.TabIndex = 35;

            this.textBox10.Text = "0";

            // 

            // textBox11

            // 

            this.textBox11.Location = new System.Drawing.Point(15, 59);

            this.textBox11.Name = "textBox11";

            this.textBox11.Size = new System.Drawing.Size(22, 20);

            this.textBox11.TabIndex = 36;

            this.textBox11.Text = "0";

            // 

            // groupBox1

            // 

            this.groupBox1.Controls.Add(this.radioButtonSub);

            this.groupBox1.Controls.Add(this.radioButtonAdd);

            this.groupBox1.Location = new System.Drawing.Point(303, 305);

            this.groupBox1.Name = "groupBox1";

            this.groupBox1.Size = new System.Drawing.Size(83, 61);

            this.groupBox1.TabIndex = 37;

            this.groupBox1.TabStop = false;

            // 

            // radioButtonSub

            // 

            this.radioButtonSub.AutoSize = true;

            this.radioButtonSub.Location = new System.Drawing.Point(9, 38);

            this.radioButtonSub.Name = "radioButtonSub";

            this.radioButtonSub.Size = new System.Drawing.Size(65, 17);

            this.radioButtonSub.TabIndex = 1;

            this.radioButtonSub.Text = "Subtract";

            this.radioButtonSub.UseVisualStyleBackColor = true;

            // 

            // radioButtonAdd

            // 

            this.radioButtonAdd.AutoSize = true;

            this.radioButtonAdd.Checked = true;

            this.radioButtonAdd.Location = new System.Drawing.Point(9, 13);

            this.radioButtonAdd.Name = "radioButtonAdd";

            this.radioButtonAdd.Size = new System.Drawing.Size(44, 17);

            this.radioButtonAdd.TabIndex = 0;

            this.radioButtonAdd.TabStop = true;

            this.radioButtonAdd.Text = "Add";

            this.radioButtonAdd.UseVisualStyleBackColor = true;

            // 

            // textBoxStr

            // 

            this.textBoxStr.Location = new System.Drawing.Point(409, 64);

            this.textBoxStr.Name = "textBoxStr";

            this.textBoxStr.Size = new System.Drawing.Size(26, 20);

            this.textBoxStr.TabIndex = 38;

            this.textBoxStr.Text = "0";

            // 

            // textBoxPow

            // 

            this.textBoxPow.Location = new System.Drawing.Point(409, 93);

            this.textBoxPow.Name = "textBoxPow";

            this.textBoxPow.Size = new System.Drawing.Size(26, 20);

            this.textBoxPow.TabIndex = 39;

            this.textBoxPow.Text = "0";

            // 

            // textBoxDex

            // 

            this.textBoxDex.Location = new System.Drawing.Point(409, 122);

            this.textBoxDex.Name = "textBoxDex";

            this.textBoxDex.Size = new System.Drawing.Size(26, 20);

            this.textBoxDex.TabIndex = 40;

            this.textBoxDex.Text = "0";

            // 

            // textBoxMind

            // 

            this.textBoxMind.Location = new System.Drawing.Point(409, 151);

            this.textBoxMind.Name = "textBoxMind";

            this.textBoxMind.Size = new System.Drawing.Size(26, 20);

            this.textBoxMind.TabIndex = 41;

            this.textBoxMind.Text = "0";

            // 

            // textBoxLevel

            // 

            this.textBoxLevel.Location = new System.Drawing.Point(303, 27);

            this.textBoxLevel.Name = "textBoxLevel";

            this.textBoxLevel.Size = new System.Drawing.Size(26, 20);

            this.textBoxLevel.TabIndex = 42;

            this.textBoxLevel.Text = "5";

            // 

            // Form1

            // 

            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

            this.ClientSize = new System.Drawing.Size(462, 378);

            this.Controls.Add(this.textBoxLevel);

            this.Controls.Add(this.textBoxMind);

            this.Controls.Add(this.textBoxDex);

            this.Controls.Add(this.textBoxPow);

            this.Controls.Add(this.textBoxStr);

            this.Controls.Add(this.groupBox1);

            this.Controls.Add(this.textBox11);

            this.Controls.Add(this.textBox10);

            this.Controls.Add(this.textBox9);

            this.Controls.Add(this.textBox8);

            this.Controls.Add(this.textBox7);

            this.Controls.Add(this.textBox6);

            this.Controls.Add(this.textBox5);

            this.Controls.Add(this.textBox4);

            this.Controls.Add(this.textBox3);

            this.Controls.Add(this.textBox2);

            this.Controls.Add(this.textBox1);

            this.Controls.Add(this.labelTotals);

            this.Controls.Add(this.buttonMoonAtomizer);

            this.Controls.Add(this.buttonStarAtomizer);

            this.Controls.Add(this.buttonMonofluid);

            this.Controls.Add(this.buttonDifluid);

            this.Controls.Add(this.buttonTrifluid);

            this.Controls.Add(this.buttonAntiparalysis);

            this.Controls.Add(this.buttonAntidote);

            this.Controls.Add(this.buttonSolAtomizer);

            this.Controls.Add(this.buttonTrimate);

            this.Controls.Add(this.buttonDimate);

            this.Controls.Add(this.buttonMonomate);

            this.Controls.Add(this.labelLevel);

            this.Controls.Add(this.labelMind);

            this.Controls.Add(this.labelDex);

            this.Controls.Add(this.labelPow);

            this.Controls.Add(this.labelStr);

            this.Controls.Add(this.progressBarDex);

            this.Controls.Add(this.progressBarMind);

            this.Controls.Add(this.progressBarPow);

            this.Controls.Add(this.progressBarStr);

            this.Name = "Form1";

            this.Text = "Mag Feeding";

            this.groupBox1.ResumeLayout(false);

            this.groupBox1.PerformLayout();

            this.ResumeLayout(false);

            this.PerformLayout();


        }


        #endregion


        private System.Windows.Forms.ProgressBar progressBarStr;

        private System.Windows.Forms.ProgressBar progressBarPow;

        private System.Windows.Forms.ProgressBar progressBarMind;

        private System.Windows.Forms.ProgressBar progressBarDex;

        private System.Windows.Forms.Label labelStr;

        private System.Windows.Forms.Label labelPow;

        private System.Windows.Forms.Label labelDex;

        private System.Windows.Forms.Label labelMind;

        private System.Windows.Forms.Label labelLevel;

        private System.Windows.Forms.Button buttonMonomate;

        private System.Windows.Forms.Button buttonDimate;

        private System.Windows.Forms.Button buttonTrimate;

        private System.Windows.Forms.Button buttonSolAtomizer;

        private System.Windows.Forms.Button buttonAntidote;

        private System.Windows.Forms.Button buttonAntiparalysis;

        private System.Windows.Forms.Button buttonTrifluid;

        private System.Windows.Forms.Button buttonDifluid;

        private System.Windows.Forms.Button buttonMonofluid;

        private System.Windows.Forms.Button buttonStarAtomizer;

        private System.Windows.Forms.Button buttonMoonAtomizer;

        private System.Windows.Forms.Label labelTotals;

        private System.Windows.Forms.TextBox textBox1;

        private System.Windows.Forms.TextBox textBox2;

        private System.Windows.Forms.TextBox textBox3;

        private System.Windows.Forms.TextBox textBox4;

        private System.Windows.Forms.TextBox textBox5;

        private System.Windows.Forms.TextBox textBox6;

        private System.Windows.Forms.TextBox textBox7;

        private System.Windows.Forms.TextBox textBox8;

        private System.Windows.Forms.TextBox textBox9;

        private System.Windows.Forms.TextBox textBox10;

        private System.Windows.Forms.TextBox textBox11;

        private System.Windows.Forms.GroupBox groupBox1;

        private System.Windows.Forms.RadioButton radioButtonSub;

        private System.Windows.Forms.RadioButton radioButtonAdd;

        private System.Windows.Forms.TextBox textBoxStr;

        private System.Windows.Forms.TextBox textBoxPow;

        private System.Windows.Forms.TextBox textBoxDex;

        private System.Windows.Forms.TextBox textBoxMind;

        private System.Windows.Forms.TextBox textBoxLevel;

    }

}


#2
Roy192

Roy192

    Newbie

  • Members
  • Pip
  • 4 posts
It seems that you created a class called 'mag' but you don't use it anywhere and in that class you try to access controls of Form1. All the code that interacts with your GUI (that tries to get data from your textboxes or something similar) should be in the Form1 class.

So you could move everything in the mag class to Form1, that should allow it to build.

#3
nunnbt473

nunnbt473

    Newbie

  • Members
  • Pip
  • 5 posts
*SMH* Maybe I should have checked the power cord first eh? Makes perfect sense now that I see it. Don't know how I didn't consider it before, thanks a ton. Going to sort it all out tomorrow, much thanks.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users