Beispiel #1
0
        private void backagain()
        {
            cancelchangesbtn.Location = new Point(856, 634);
            cancelchangesbtn.Height   = 52;
            cancelchangesbtn.Font     = new Font("serif", 15);
            Paymentbtn.Show();
            confirmeditbtn.Hide();
            editcustinfobtn.Show();
            fnameprintlabel.Show();
            mnameprintlabel.Show();
            lnameprintlabel.Show();
            homephonelabel.Show();
            cellphonelabel.Show();
            workphonelabel.Show();
            addressline1data.Show();
            addressline2data.Show();
            citylabel.Show();
            statelabel.Show();
            makelabel.Show();
            modellabel.Show();
            yearlabel.Show();
            colorlabel.Show();
            VINlabel.Show();
            Vehicleloclabel.Show();
            vehiclecostdatalabel.Show();

            fnameprinttxtbox.Hide();
            mnameprinttxtbox.Hide();
            lnameprinttxtbox.Hide();
            homephonetxtbox.Hide();
            textBox2.Hide();
            textBox3.Hide();
            addressline1datatxtbox.Hide();
            addressline2datatxtbox.Hide();
            citytxtbox.Hide();
            statetxtbox.Hide();
            maketxtbox.Hide();
            modeltxtbox.Hide();
            yeartxtbox.Hide();
            colortxtbox.Hide();
            VINtxtbox.Hide();
            Vehicleloctxtbox.Hide();
        }
Beispiel #2
0
 private void editcustinfobtn_Click(object sender, EventArgs e)
 {
     marker = 1;
     cancelchangesbtn.Location = new Point(858, 581);
     cancelchangesbtn.Height   = 109;
     cancelchangesbtn.Font     = new Font("serif", 20);
     Paymentbtn.Hide();
     confirmeditbtn.Show();
     cancelchangesbtn.Show();
     editcustinfobtn.Hide();
     fnameprintlabel.Hide();
     mnameprintlabel.Hide();
     lnameprintlabel.Hide();
     homephonelabel.Hide();
     cellphonelabel.Hide();
     workphonelabel.Hide();
     addressline1data.Hide();
     addressline2data.Hide();
     citylabel.Hide();
     statelabel.Hide();
     makelabel.Hide();
     modellabel.Hide();
     yearlabel.Hide();
     colorlabel.Hide();
     VINlabel.Hide();
     Vehicleloclabel.Hide();
     vehiclecostdatalabel.Hide();
     fnameprinttxtbox.Show();
     mnameprinttxtbox.Show();
     lnameprinttxtbox.Show();
     homephonetxtbox.Show();
     textBox2.Show();
     textBox3.Show();
     addressline1datatxtbox.Show();
     addressline2datatxtbox.Show();
     citytxtbox.Show();
     statetxtbox.Show();
     maketxtbox.Show();
     modeltxtbox.Show();
     yeartxtbox.Show();
     colortxtbox.Show();
     VINtxtbox.Show();
     Vehicleloctxtbox.Show();
     vehiclecostdatalabel.Show();
     fnameprinttxtbox.Text       = fnameprintlabel.Text;
     mnameprinttxtbox.Text       = mnameprintlabel.Text;
     lnameprinttxtbox.Text       = lnameprintlabel.Text;
     homephonetxtbox.Text        = homephonelabel.Text;
     textBox2.Text               = cellphonelabel.Text;
     textBox3.Text               = workphonelabel.Text;
     addressline1datatxtbox.Text = addressline1data.Text;
     addressline2datatxtbox.Text = addressline2data.Text;
     citytxtbox.Text             = citylabel.Text;
     statetxtbox.Text            = statelabel.Text;
     maketxtbox.Text             = makelabel.Text;
     modeltxtbox.Text            = modellabel.Text;
     yeartxtbox.Text             = yearlabel.Text;
     colortxtbox.Text            = colorlabel.Text;
     VINtxtbox.Text              = VINlabel.Text;
     Vehicleloctxtbox.Text       = Vehicleloclabel.Text;
     vehiclecostdatalabel.Text   = vehiclecostdatalabel.Text;
     itemidlabel.Text            = itemid;
 }