1. Welcome to Tacoma World!

    You are currently viewing as a guest! To get full-access, you need to register for a FREE account.

    As a registered member, you’ll be able to:
    • Participate in all Tacoma discussion topics
    • Communicate privately with other Tacoma owners from around the world
    • Post your own photos in our Members Gallery
    • Access all special features of the site

TacomaWorld will be down for several hours tonite (2/4/11)

Discussion in 'Site News and Announcements' started by tcBob, Feb 4, 2011.

  1. Feb 4, 2011 at 7:20 PM
    #301
    Pope953

    Pope953 That's a fact Jack!

    Joined:
    Feb 25, 2010
    Member:
    #32117
    Messages:
    11,454
    Gender:
    Male
    First Name:
    Wesley
    Asheville, NC
    Vehicle:
    SR5 Pickup
    35% up front, 20% in the back window tint, 15" Mickey Thompson bullet hole wheels, with 31x10.5 Firestone Destination A/T tires. Glass Pack, High Flow Cat, S&B CAI, Custom Light Bar with 4 fog lights. 2 10" Rockford Fosgate P2 subs with 1000 watt Rockford Fosgate Amp, CB.
    Another one!
     
  2. Feb 4, 2011 at 7:20 PM
    #302
    TacoRun

    TacoRun Subd for later..

    Joined:
    Mar 8, 2010
    Member:
    #32808
    Messages:
    2,601
    Gender:
    Male
    First Name:
    Luis
    Edinburg,Texas
    Vehicle:
    TRD off road, Magnetic Gray
    Pop Lock, Ranch Hand brush guard
    Peanuts don't have legs....
     
  3. Feb 4, 2011 at 7:21 PM
    #303
    Monkeysuncle

    Monkeysuncle My Cat's breath Smells like Cat Food

    Joined:
    Aug 27, 2008
    Member:
    #8809
    Messages:
    1,247
    Gender:
    Male
    First Name:
    Kevin
    Florida
    Vehicle:
    99 Tacoma SR5 4x4 5 speed Manual Hubs
    Diff Breather,CB thingy,GPS,Cop Shocks,Cop Brakes, old Man Emu 881's Dakar Leaf Springs and Nitro sport shocks. Deck Plate mod
    I broke my wookie
     
  4. Feb 4, 2011 at 7:21 PM
    #304
    Shemicals

    Shemicals Well-Known Member

    Joined:
    Aug 23, 2010
    Member:
    #42121
    Messages:
    2,610
    Gender:
    Male
    First Name:
    Matt
    Concord - East Bay CA
    Vehicle:
    '07 5-Lug Black Sand Pearl Access Cab 2WD
    Build Page
  5. Feb 4, 2011 at 7:21 PM
    #305
    Rucas

    Rucas 1st gen

    Joined:
    Dec 5, 2009
    Member:
    #27040
    Messages:
    4,301
    Gender:
    Male
    First Name:
    Lucas
    Vehicle:
    1st gen. 4x4
    Custom Aluminum Camper
    hmmmm
     
  6. Feb 4, 2011 at 7:21 PM
    #306
    TacoRun

    TacoRun Subd for later..

    Joined:
    Mar 8, 2010
    Member:
    #32808
    Messages:
    2,601
    Gender:
    Male
    First Name:
    Luis
    Edinburg,Texas
    Vehicle:
    TRD off road, Magnetic Gray
    Pop Lock, Ranch Hand brush guard
    Picking up speed.
     
  7. Feb 4, 2011 at 7:21 PM
    #307
    Rucas

    Rucas 1st gen

    Joined:
    Dec 5, 2009
    Member:
    #27040
    Messages:
    4,301
    Gender:
    Male
    First Name:
    Lucas
    Vehicle:
    1st gen. 4x4
    Custom Aluminum Camper
  8. Feb 4, 2011 at 7:22 PM
    #308
    Shemicals

    Shemicals Well-Known Member

    Joined:
    Aug 23, 2010
    Member:
    #42121
    Messages:
    2,610
    Gender:
    Male
    First Name:
    Matt
    Concord - East Bay CA
    Vehicle:
    '07 5-Lug Black Sand Pearl Access Cab 2WD
    Build Page
  9. Feb 4, 2011 at 7:22 PM
    #309
    Monkeysuncle

    Monkeysuncle My Cat's breath Smells like Cat Food

    Joined:
    Aug 27, 2008
    Member:
    #8809
    Messages:
    1,247
    Gender:
    Male
    First Name:
    Kevin
    Florida
    Vehicle:
    99 Tacoma SR5 4x4 5 speed Manual Hubs
    Diff Breather,CB thingy,GPS,Cop Shocks,Cop Brakes, old Man Emu 881's Dakar Leaf Springs and Nitro sport shocks. Deck Plate mod
    a moose bit my sister once
     
  10. Feb 4, 2011 at 7:22 PM
    #310
    Incognito

    Incognito No better friend, no worse enemy

    Joined:
    May 25, 2009
    Member:
    #17626
    Messages:
    13,751
    Gender:
    Male
    VA
    Vehicle:
    2012 Pyrite AC TRD OR
    Spacer lift, bumper stickers, ejector seat, etc.
  11. Feb 4, 2011 at 7:22 PM
    #311
    Pope953

    Pope953 That's a fact Jack!

    Joined:
    Feb 25, 2010
    Member:
    #32117
    Messages:
    11,454
    Gender:
    Male
    First Name:
    Wesley
    Asheville, NC
    Vehicle:
    SR5 Pickup
    35% up front, 20% in the back window tint, 15" Mickey Thompson bullet hole wheels, with 31x10.5 Firestone Destination A/T tires. Glass Pack, High Flow Cat, S&B CAI, Custom Light Bar with 4 fog lights. 2 10" Rockford Fosgate P2 subs with 1000 watt Rockford Fosgate Amp, CB.
    Dont push the brake now....
     
  12. Feb 4, 2011 at 7:22 PM
    #312
    Nightstr

    Nightstr Well-Known Member

    Joined:
    Dec 24, 2009
    Member:
    #28125
    Messages:
    5,373
    Gender:
    Male
    First Name:
    Felipe
    Sacramento CA
    Vehicle:
    05 prerunner sr5
    BLHM BLWM 3" TOUGH COUNTRY LIFT TRD SEAT COVERS THULE RACK M/T KM2 265/65/16
    How much does a polar bear weigh?....... Enough to break the ice. Hi my name is Felipe!:D
     
  13. Feb 4, 2011 at 7:22 PM
    #313
    Shemicals

    Shemicals Well-Known Member

    Joined:
    Aug 23, 2010
    Member:
    #42121
    Messages:
    2,610
    Gender:
    Male
    First Name:
    Matt
    Concord - East Bay CA
    Vehicle:
    '07 5-Lug Black Sand Pearl Access Cab 2WD
    Build Page
  14. Feb 4, 2011 at 7:22 PM
    #314
    Shemicals

    Shemicals Well-Known Member

    Joined:
    Aug 23, 2010
    Member:
    #42121
    Messages:
    2,610
    Gender:
    Male
    First Name:
    Matt
    Concord - East Bay CA
    Vehicle:
    '07 5-Lug Black Sand Pearl Access Cab 2WD
    Build Page
    gwooobylegong
     
  15. Feb 4, 2011 at 7:22 PM
    #315
    Skywalker6

    Skywalker6 Goldmember

    Joined:
    Dec 16, 2010
    Member:
    #47782
    Messages:
    64
    Gender:
    Male
    Colorado
    Vehicle:
    Big Ol' Juicy Double
    One was assaulted.
     
  16. Feb 4, 2011 at 7:23 PM
    #316
    TacoRun

    TacoRun Subd for later..

    Joined:
    Mar 8, 2010
    Member:
    #32808
    Messages:
    2,601
    Gender:
    Male
    First Name:
    Luis
    Edinburg,Texas
    Vehicle:
    TRD off road, Magnetic Gray
    Pop Lock, Ranch Hand brush guard
    I can't think....how much more time do we have?
     
  17. Feb 4, 2011 at 7:23 PM
    #317
    Shemicals

    Shemicals Well-Known Member

    Joined:
    Aug 23, 2010
    Member:
    #42121
    Messages:
    2,610
    Gender:
    Male
    First Name:
    Matt
    Concord - East Bay CA
    Vehicle:
    '07 5-Lug Black Sand Pearl Access Cab 2WD
    Build Page
    Can i maek for you some cheese
     
  18. Feb 4, 2011 at 7:23 PM
    #318
    Monkeysuncle

    Monkeysuncle My Cat's breath Smells like Cat Food

    Joined:
    Aug 27, 2008
    Member:
    #8809
    Messages:
    1,247
    Gender:
    Male
    First Name:
    Kevin
    Florida
    Vehicle:
    99 Tacoma SR5 4x4 5 speed Manual Hubs
    Diff Breather,CB thingy,GPS,Cop Shocks,Cop Brakes, old Man Emu 881's Dakar Leaf Springs and Nitro sport shocks. Deck Plate mod
    I fart in your general direction
     
  19. Feb 4, 2011 at 7:23 PM
    #319
    Shemicals

    Shemicals Well-Known Member

    Joined:
    Aug 23, 2010
    Member:
    #42121
    Messages:
    2,610
    Gender:
    Male
    First Name:
    Matt
    Concord - East Bay CA
    Vehicle:
    '07 5-Lug Black Sand Pearl Access Cab 2WD
    Build Page
    we have 1 + 1 more time
     
  20. Feb 4, 2011 at 7:23 PM
    #320
    TacoNut

    TacoNut IgnoringChrisWatchingEdLi veVicariouslyThroughMJP2

    Joined:
    Mar 29, 2008
    Member:
    #5597
    Messages:
    5,237
    Gender:
    Male
    First Name:
    Adam
    Denver, Co
    Vehicle:
    16 TRD OR DCSB Quicksand
    woooo homework :rolleyes:
    Code:
      private Sub Sub = new Sub(0,"",0,0);
    
            
    
    
            public frmMain()
            {
                InitializeComponent();
                
    
                
            }
    
            private void frmMain_Load(object sender, EventArgs e)
            {
                Initial();
            }
    
            private void btnAbt_Click(object sender, EventArgs e)
            {
                string M = "This is Project9";
                string T = "About";
                About(M,T);
    
            }
    
            private void btnGet_Click(object sender, EventArgs e)
            {
                Get();
            }
    
            private void btnPlace_Click(object sender, EventArgs e)
            {
                Place();
            }
    
            private void btnRetreive_Click(object sender, EventArgs e)
            {
                Retreive();
            }
    
            private void btnCalc_Click(object sender, EventArgs e)
            {
                Calc();
            }
    
            private void btnReset_Click(object sender, EventArgs e)
            {
                Reset();
            }
    
            private void btnExit_Click(object sender, EventArgs e)
            {
                Exit();
            }
            //user defined methods
    
            private void Initial()
            {
                DateTime dtmDate = DateTime.Today;
                lblDate.Text = dtmDate.ToString("D");
                txtID.Focus();
    
            }//end initial
    
            private void About(string M, string T)
            {
                MessageBox.Show(M, T);
            }//end about
    
            private void Get()
            {
                //Assign the value from the ID textbox to the ID data member.
                try
                {
                    prjStruct.intID = Convert.ToInt32(txtID.Text);
                }//end try
                catch { 
                    MessageBox.Show("ID is non-numeric!", "Error");
                    }//end catch
                
                    prjStruct.strDisc = txtDisc.Text;
    try
                    {
                        prjStruct.dblPrice = Convert.ToDouble(txtPrice.Text);
                    }//end try
                    catch
                    {
                        MessageBox.Show("Price is non-numeric!", "Error");
                    }//end catch
                    try
                    {
                        prjStruct.intQty = Convert.ToInt32(txtQty.Text);
                    }
                    catch
                    {
                        MessageBox.Show("Qty is non-numeric!", "Error");
                    }//end catch
                    btnGet.Enabled = false;
                    btnPlace.Enabled = true;
                    lblMsg.Text = "Values Gotten From Form.";
            }//end get
            private void Place()
            {
                //send from data struct to sub class methods
                Sub.setId(prjStruct.intID);
                Sub.setPrice(prjStruct.dblPrice);
                Sub.setDisc(prjStruct.strDisc);
                Sub.setQty(prjStruct.intQty);
    
                prjStruct.intID = 0;
                prjStruct.strDisc = "";
                prjStruct.intQty = 0;
                prjStruct.dblPrice = 0;
    
                txtDisc.Clear();
                txtID.Clear();
                txtPrice.Clear();
                txtQty.Clear();
    
                btnPlace.Enabled = false;
                btnRetreive.Enabled = true;
    
                lblMsg.Text = "Values sucessfully sent to object";
              
    
            }//end Place
    
    
            private void Retreive()
            {
                prjStruct.intID = Sub.getId();
                prjStruct.strDisc = Sub.getDisc();
                prjStruct.intQty = Sub.getQty();
                prjStruct.dblPrice = Sub.getPrice();
                btnRetreive.Enabled = false;
                btnCalc.Enabled = true;
                lblMsg.Text = "Values have been retreived from the object.";
            }//end retreive
           
            private void Calc()
            {
                if (chkOvride.Checked == true)
                {
                    try
                    {
                        prjStruct.dblPrice = Convert.ToDouble(txtPrice.Text);
                    }//end try
                    catch
                    {
                        lblMsg.Text = "Error, Price is non-numeric!";
                    }//end catch
                    prjStruct.dblAmt = Sub.calcAmt(prjStruct.dblPrice,prjStruct.intQty);
                    lblMsg.Text = "Amount calculated with a price overide.";
                }//end if
                else
                {
                    prjStruct.dblAmt = Sub.calcAmt();
                    prjStruct.dblPrice = Sub.getPrice();
                    lblMsg.Text = "Amount has been calculated.";
                }//end else
                lblAmt.Visible = true;
                txtAmt.Visible = true;
                txtID.Text = prjStruct.intID.ToString();
                txtPrice.Text = prjStruct.dblPrice.ToString("C");
                txtQty.Text = prjStruct.intQty.ToString();
                txtDisc.Text = prjStruct.strDisc;
                txtAmt.Text = prjStruct.dblAmt.ToString("C");
                chkOvride.Visible = true;
                btnCalc.Enabled = false;
            }//end calc
            private void Reset()
            {
                txtAmt.Clear();
                txtDisc.Clear();
                txtID.Clear();
                txtPrice.Clear();
                txtQty.Clear();
                lblMsg.Text = " ";
                btnCalc.Enabled = false;
                btnGet.Enabled = true;
                lblAmt.Visible = false;
                txtAmt.Visible = false;
                chkOvride.Visible = false;
            }//end reset
            private void Checked()
            {
                if (chkOvride.Checked == true)
                {
                    txtPrice.Clear();
                    btnCalc.Enabled = true;
                    txtPrice.Focus();
                }//end if
            }//end check
            private void Exit()
        {
            Application.Exit();
        }
    
            private void chkOvride_CheckedChanged(object sender, EventArgs e)
            {
                Checked();
            }//end exit
            //end user defined methods
        }//end class
    }//end namespace
    
     

Products Discussed in

To Top